The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



NrOfRows


Unit:SDL_matrix
Class:TMatrix, TIntMatrix, TMat3D
Declaration:property NrOfRows: longint;

The property NrOfRows controls the number of rows of a matrix. The matrix elements are addressed starting with an index of 1. For the classes TIntMatrix and TMatrix the properties NrOfRows and/or NrOfColumns may be set to zero to create a 0-by-0 matrix.

Hint 1: If you have to adjust not only NrOfRows but also NrOfColumns then it is faster to use the method Resize.

Hint 2: In the Light Edition the number of cells is restricted to 2000 (NrOfColumns times NrOfRows).

Example: This property is used in the following example programs (see http://www.lohninger.com/examples.html for downloading the code): covar, findcent


Last Update: 2023-Feb-06