Summary
Returns the approximation of the norm of Z.
Unit
Math387
Declaration
Function CAbs1(const z: TCplx): TSample;
Result
the approximation of the norm of complex number: |Z| = abs(Z.Re) + abs(Z.Im).
Description
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.
| Copyright 2008 Dew Research |
http://www.dewresearch.com