Summary
Sums two sparse matrices (A+B).
Class
TSparseMtx
Declaration
Procedure Add(Y: TMtx);
Description
Add the content of the calling sparse matrix to the dense matrix Y.
Declaration
Procedure Add(A, B: TSparseMtx; MaxNonZeroCount: integer = 10000000);
Description
Sum sparse matrices A and B and place the result in the calling sparse matrix. Because the resulting matrix can be much less sparse, the memory requirements can increase beyond the available system memory. An exception will be raised if if the requested memory size will exceed the value of MaxNonZeroCount.
| Copyright 2008 Dew Research |
http://www.dewresearch.com