Click or drag to resize

NMathFunctionsMaxAbsValue(FloatComplexVector, FuncFloatComplex, Single) Method

Calculates the maximum absolute value of a given vector's elements.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static float MaxAbsValue(
	FloatComplexVector v,
	Func<FloatComplex, float> norm
)

Parameters

v  FloatComplexVector
A vector.
norm  FuncFloatComplex, Single
Metric used to determine abs value.

Return Value

Single
Absolute maximum value.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if v has zero length.
See Also