Click or drag to resize

DiscreteDistributionExpectationValue Method

Computes the expectation value of an artibrary function.

Namespace:  Meta.Numerics.Statistics.Distributions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public virtual 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