Returns the expectation value of a function.
Namespace:
Extreme.Statistics.Distributions
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public double GetExpectationValue(
Func<double, double> function
)
Public Function GetExpectationValue (
function As Func(Of Double, Double)
) As Double
public:
double GetExpectationValue(
Func<double, double>^ function
)
member GetExpectationValue :
function : Func<float, float> -> float
Parameters
- function
- Type: SystemFuncDouble, Double
The function to evaluate.
Return Value
Type:
DoubleThe expectation value of
function.
Reference