Summary
Compares two objects and returns True, if they are equal.
Class
TMtxVec
Declaration
Function IsEqual(Value: TSample): boolean;
Description
Compares real Value with all calling object elements.
Declaration
Function IsEqual(Vec: TMtxVec; Precision: TSample; Compare: TCompare = cmpAbsolute): boolean;
Description
Compares Vec elements with coresponding calling object elements with Compare method and specified Precision.
Declaration
Function IsEqual(Value: TSample; Tolerance: TSample; Compare: TCompare): boolean;
Description
Compares real Value with all calling object elements with Compare method and specified Tolerance.
Declaration
Function IsEqual(Vec: TMtxVec; VecIndex, Index, Len: integer): boolean;
Description
Compares Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1].
Declaration
Function IsEqual(Value: TCplx; Tolerance: TSample; Compare: TCompare): boolean;
Description
Compares complex Value with all calling object elements with Compare method and specified Tolerance.
Declaration
Function IsEqual(Value: TCplx): boolean;
Description
Compares complex Value with all calling object elements.
Declaration
Function IsEqual(Vec: TMtxVec): boolean;
Description
Compares two objects and returns True, if they are equal. The IsEqual uses cmpAbsolute comparison method with comparison tolerance of 10*EPS by default .
The method compares only Complex and Length properties and coresponding values. To compare matrices or sparse matrices, use the Equal method.
Declaration
Function IsEqual(Vec: TMtxVec; VecIndex, Index, Len: integer; Precision: TSample; Compare: TCompare = cmpAbsolute): boolean;
Description
Compares Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1] with Compare method and specified Precision.
| Copyright 2008 Dew Research |
http://www.dewresearch.com