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.... |
Home GuiPack NTabed Methods Redimension | |||||||||||
See also: NrOfColumns, NrOfRows | |||||||||||
Redimension |
|||||||||||
The method Redimension serves to change the dimensions of the matrix on the fly. The parameters NrCols and NrRows define the intended size of the matrix (number of columns and number of rows). Any excess matrix elements which are not covered by the original matrix are set to zero values. Note: The method Redimension is much more efficient than assigning the new table dimensions to the properties NrOfColumns and NrOfRows. It is therefore strongly recommended to use Redimension whenever both dimensions of the table have to be changed.
|