void SparseToDense(TMtx Dst, Int32 MaxElemCount)
Convert sparse matrix to banded matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtx | source TMtx |
| 2 | MaxElemCount | Int32 |
Result: stored in self (calling object)
Remarks:
Convert sparse matrix modified compressed column format to dense matrix.
Examples
TMtx A;
TMtx B;
TSparseMtx SparseA;
// ...
A.SetIt(3,3,false,new double[] {1,0,0,0,2,0,0,1,3});
See Also: TSparseMtx.DenseToSparse