Continuous Distribution.Moment Function Method
Returns the value of the moment function of the specified order.
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
The value of the moment function of order order at x.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public virtual 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
Argument | order is less than zero. |