Math387::CAbs1 Function

Overload List

#SignatureDescription
1double CAbs1(const TCplx &Z);Returns the approximation of the norm of Z.
2float CAbs1(const TSCplx &Z);

Overload 1: double CAbs1(const TCplx &Z);

Returns the approximation of the norm of Z.

#NameTypeDescription
1Zconst TCplx &

Returns: 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.

Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 2: float CAbs1(const TSCplx &Z);

#NameTypeDescription
1Zconst TSCplx &
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler