TSparseMtx.TripletsToSparseAndFlush Method

void TripletsToSparseAndFlush

Construct a sparse matrix by specifying the position of each element in dense matrix.

Result: stored in self (calling object)

Remarks:

This method can be used to construct a sparse matrix by specifying the position of each element in dense matrix.

Examples
Anew double[] {1,0} = 1;
Anew double[] {2,3} = 5;
Anew double[] {4,0} = 2;
A.TripletsToSparseAndFlush;
See Also: TSparseMtx.AddSplit