You are here: Symbol Reference > Sparse Namespace > Classes > TSparseMtx Class > public > Equal Method > TSparseMtx.Equal Method (TSparseMtx, double)
MtxVec VCL
ContentsIndex
PreviousUpNext
TSparseMtx.Equal Method (TSparseMtx, double)

Compares two sparse matrices.

Pascal
function Equal(const B: TSparseMtx; Tolerance: double = 0): boolean; overload;
Parameters 
Description 
Compare B with calling sparse matrix. 
Tolerance 
Defines the comparison tolerance. The maximum difference between elements may not exceed: +/-Tolerance. If Tolerance is omitted, a direct comparison algorithm is used. 

true, if the calling matrix is equal to sparse B matrix (if all elements match in position and value).

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!