Summary
Multiply two sparse matrices (matrix multiplication).
Class
TSparseMtx
Declaration
Procedure Mul(C, B: TSparseMtx; MaxNonZeroCount: integer = 10000000);
Description
Multiply sparse matrices A and B and place the result in the calling matrix. Because the resulting matrix can be much less sparse, the memory requirements can increase beyond the available system memory. This method will raise an exception, if the requested memory size will exceed the value of MaxNonZeroCount.
Example 1
Multiply SparseA and SparseB where maximum number of non-zero elements is estimated at 100. SparseC.Mul(SparseA,SparseB, 100);
| Copyright 2008 Dew Research |
http://www.dewresearch.com