You are here: Symbol Reference > Sparse Namespace > Classes > TSparseMtx Class > published > TSparseMtx.Rows Property
MtxVec VCL
ContentsIndex
PreviousUpNext
TSparseMtx.Rows Property

Number of rows in the sparse matrix.

Pascal
property Rows: integer;

Defines number of rows in the sparse matrix. This value is needed only by the routines for matrix addition and multiplication to check the matrix sizes (which can be non-rectangular).

SparseA.Complex := false; SparseA.Rows := 3; SparseA.Cols := 4; SparseA.NonZeros := 5;
SparseA->Complex = false; SparseA->Rows = 3; SparseA->Cols = 4; SparseA->NonZeros = 5;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!