BigFloat.Gamma Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Gamma(BigFloat) Returns the gamma function of a number.
Gamma(BigFloat, AccuracyGoal) Returns the gamma function of a number to the specified accuracy.
Gamma(BigFloat, AccuracyGoal, RoundingMode) Returns the gamma function of a number to the specified accuracy.

Gamma(BigFloat)

Returns the gamma function of a number.
C#
public static BigFloat Gamma(
	BigFloat value
)

Parameters

value  BigFloat
A BigFloat value.

Return Value

BigFloat
The gamma function of value with the same relative accuracy as value.

Exceptions

ArgumentNullExceptionvalue is null.

Gamma(BigFloat, AccuracyGoal)

Returns the gamma function of a number to the specified accuracy.
C#
public static BigFloat Gamma(
	BigFloat value,
	AccuracyGoal accuracyGoal
)

Parameters

value  BigFloat
A BigFloat value.
accuracyGoal  AccuracyGoal
An AccuracyGoal value that specifies the desired accuracy of the result.

Return Value

BigFloat
The gamma function of value with an accuracy within accuracyGoal.

Exceptions

ArgumentNullExceptionvalue is null.

Gamma(BigFloat, AccuracyGoal, RoundingMode)

Returns the gamma function of a number to the specified accuracy.
C#
public static BigFloat Gamma(
	BigFloat value,
	AccuracyGoal accuracyGoal,
	RoundingMode roundingMode
)

Parameters

value  BigFloat
A BigFloat value.
accuracyGoal  AccuracyGoal
An AccuracyGoal value that specifies the desired accuracy of the result.
roundingMode  RoundingMode
A RoundingMode value that specifies how the result should be rounded.

Return Value

BigFloat
The gamma function of value with an accuracy within accuracyGoal.

Exceptions

ArgumentNullExceptionvalue is null.

See Also