Define the size of sparse matrix.
Define the calling matrix size to match those of the AMtxVec objects. If AComplex is true, calling sparse matrix
property is set to true.
Example 1
SparseA.Size(3,4,5,false);
// is the same as calling this sequence
SparseA.Complex := false;
SparseA.Rows := 3;
SparseA.Cols := 4;
SparseA.NonZeros := 5;
SparseA->Size(3,4,5,false);
// is the same as calling this sequence
SparseA->Complex = false;
SparseA->Rows = 3;
SparseA->Cols = 4;
SparseA->NonZeros = 5;
Declaration
Procedure Size(RowCount, ColCount, NonZeroCount: integer; IsComplex: boolean = false);
Description
Define the sparse matrix size to RowCount property) and define the matrix to be complex if IsComplex is true.