Math387.CAbs1 Method

Overload List

#SignatureDescription
1function CAbs1(const Z: TCplx): Double;Returns the approximation of the norm of Z.
2function CAbs1(const Z: TSCplx): Single;

Overload 1: function CAbs1(const Z: TCplx): Double;

Returns the approximation of the norm of Z.

#NameTypeDescription
1ZTCplx

Returns: Double - the approximation of the norm of complex number: |Z| = abs(Z.Re) + abs(Z.Im).

Remarks:

The following relations are true: (CAbs(Z1) < CAbs(Z2)) < = > (CAbs1(Z1) < CAbs1(Z2)) and (CAbs(Z1) > CAbs(Z2)) < = > (CAbs1(Z1) > CAbs1(Z2)). This function can be used to speed up comparing operations between complex numbers.

Overload 2: function CAbs1(const Z: TSCplx): Single;

#NameTypeDescription
1ZTSCplx

Returns: Single