Dew MtxVec NET
Bigger Routines
Summary
Compares two numbers.

Unit
Math387

Declaration
Function Bigger(const X: TCplx; const Y: TSample): boolean;

Description
Compare one real and one complex number.
Declaration
Function Bigger(const X, Y: TCplx): boolean;

Description
Returns True if X is bigger then Y. If absolute values are equal it compares the phase.
Declaration
Function Bigger(A, B: TSample; const Tol: TSample = 1E-4): boolean;

Description
Returns true, if A is bigger then B within defined tolerance.
Result := ((A - Tol) > B);

Declaration
Function Bigger(const X: TSample; const Y: TCplx): boolean;

Description
Compare one real and one complex number.

Copyright 2008 Dew Research
http://www.dewresearch.com