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....


Unit: SDL_matrix
Class: TMat4D
Declaration: function ResizeAndClear (Nc, Nr, Nl, Nt: longint): boolean;

The method ResizeAndClear changes the dimensions of the hypercube matrix and clears all the cells. The parameters Nc, Nr, Nl, and Nt define the intended size of the matrix (number of columns, number of rows, number of layers, and number of time slots, respectively). Resize returns a TRUE value if the new matrix has been resized successfully.

Hint: In the Light Edition the number of cells is restricted to 2000 (i.e. the product of NrOfColumns times NrOfRows times NrOfLayers times NrOfTimeSlots).

Last Update: 2013-Oct-10