NrOfColumns
Declaration: |
TMatrix.NrOfColumns: integer; |
The property NrOfColumns controls the number of columns of a matrix. The matrix elements are addressed starting with an index of 1. For the classes TIntMatrix and TMatrix the properties NrOfColumns and/or NrOfRows may be set to zero to create a 0-by-0 matrix.
|
Hint 1: |
If you have to adjust not only NrOfColumns but also NrOfRows then it is faster to use the method Resize. |
|