Click or drag to resize

ContinuousDistributionExpectationValue Method

Computes the expectation value of the given function.

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

Parameters

f
Type: SystemFuncDouble, Double
The function.

Return Value

Type: Double
The expectation value of the function.
Exceptions
ExceptionCondition
ArgumentNullExceptionf is .
See Also