Elementary.Log Sum Exp Method
Computes the logarithm of the sum of exponentials.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
The logarithm of the sum of exponentials of the elements of values.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static double LogSumExp(
Vector<double> values
)
Parameters
Return Value
DoubleThe logarithm of the sum of exponentials of the elements of values.
Exceptions
Argument | values is null. |