Click or drag to resize

DiscreteUniformDistributionExpectationValue Method

Computes the expectation value of an artibrary function.

Namespace:  Meta.Numerics.Statistics.Distributions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.0.5.0 (4.0.5.0)
Syntax
public override double ExpectationValue(
	Func<int, double> f
)

Parameters

f
Type: SystemFuncInt32, Double
The function.

Return Value

Type: Double
The expectation value of the function.
See Also