Click or drag to resize

NMathFunctionsMinAbsIndex(DoubleComplexVector, FuncDoubleComplex, Double) Method

Calculates the index of the minimum value of a given vector's elements. An elements rank is calculated using the user specified norm function such as l1, l2 or linf. In the case of Complex numbers l1(c) = c.real + c.image, l2(c) = (c.real^2 + c.imag^2) ^ 1/2, linf(c) = max (c.real, c.imag)

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static int MinAbsIndex(
	DoubleComplexVector v,
	Func<DoubleComplex, double> norm
)

Parameters

v  DoubleComplexVector
A vector.
norm  FuncDoubleComplex, Double

[Missing <param name="norm"/> documentation for "M:CenterSpace.NMath.Core.NMathFunctions.MinAbsIndex(CenterSpace.NMath.Core.DoubleComplexVector,System.Func{CenterSpace.NMath.Core.DoubleComplex,System.Double})"]

Return Value

Int32
Absolute index.
See Also