Piecewise Distribution.Moment Function Method
Returns the value of the moment function of the specified order.
Definition
Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The value of the moment function of order order at x.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public override double MomentFunction(
int order,
double x
)
Parameters
- order Int32
- The order of the moment function.
- x Double
- The point at which to evaluate the moment function.
Return Value
DoubleThe value of the moment function of order order at x.
Remarks
The order must be greater than or equal to zero.
Exceptions
ArgumentOutOfRangeException | order is less than zero. |