Elementary.LogSumExp Method

Computes the logarithm of the sum of exponentials.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static double LogSumExp(
	Vector<double> values
)

Parameters

values  Vector<Double>

Return Value

Double
The logarithm of the sum of exponentials of the elements of values.

Exceptions

ArgumentNullException

values is null.

See Also