Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void Add(TMtx Y) | Add the content of the calling sparse matrix to the dense matrix Y. |
| 2 | void Add(TSparseMtx A, TSparseMtx B, Int32 MaxNonZeroCount) | Sums two sparse matrices (A+B). |
Overload 1: void Add(TMtx Y)
Add the content of the calling sparse matrix to the dense matrix Y.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Y | TMtx | source TMtx |
Result: stored in self (calling object)
Overload 2: void Add(TSparseMtx A, TSparseMtx B, Int32 MaxNonZeroCount)
Sums two sparse matrices (A+B).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | TSparseMtx | |
| 2 | B | TSparseMtx | |
| 3 | MaxNonZeroCount | Int32 |
Result: stored in self (calling object)
Remarks:
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.
See Also: TSparseMtx.Sub