Click or drag to resize

NMathFunctionsAbs(DoubleComplex) Method

Calculates the absolute value of a complex number.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double Abs(
	DoubleComplex c
)

Parameters

c  DoubleComplex
A complex number.

Return Value

Double
The absolute value of c.
Remarks
Absolute value uses the Euclidean (L2) Norm which is the square root of the sum of the squares of the real and imaginary parts. abs(c) = sqrt(c.Real^2 + c.Imag^2)
See Also