Click or drag to resize

StableDistributionBaseCosGammaPiBy2 Method

Calculates the cosine of gamma time Pi/2 with high accuracy. If |gamma| is less than or equal to 0.5, the cosine is calculated directly by calling CosXPiBy2(Double) with argument gamma. Else (if |gamma| is greater than 0.5, it is calculated from alpha and aga, which ensures a higher accuracy.

Namespace: Altaxo.Calc.Probability
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
protected static double CosGammaPiBy2(
	double alpha,
	double gamma,
	double aga
)

Parameters

alpha  Double
Characteristic exponent of the stable distribution.
gamma  Double
Parameter gamma of the stable distribution in Feller's parametrization.
aga  Double
Specifies the parameter gamma with increased precision when |gamma|≈alpha. For an explanation how aga is defined, see GetAgaFromAlphaGamma(Double, Double).

Return Value

Double
Cosine of gamma time Pi/2 with high accuracy.
See Also