Summary
Compares matrix size.
Class
TSparseMtx
Declaration
Function IsEqualSize(Sparse: TSparseMtx): boolean;
Result
true if Sparse sparse matrix
Complex,
Rows,
Cols and
NonZeros properties match those of calling sparse matrix.
Example 1
SparseA.Size(3,4,3,false);
SparseB.Size(3,4,1,false);
if SparseA.EqualSize(SparseB) then ShowMessage('Equal size')
else ShowMesssage('Not equal size')
| Copyright 2008 Dew Research |
http://www.dewresearch.com