Elementary.LogSumExp Method

Computes the logarithm of the sum of exponentials.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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