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: [1] procedure ReadLayer (FName: string; Layer, TSlot: integer);
[2] procedure ReadLayer (FName: string; Layer, TSlot: integer; var Data: TDouble2DArray);

The method ReadLayer reads all data values of the layer specified by the parameters Layer and TSlot of the file FName. While version [1] stores the read data in the matrix, version [2] stores the read values in the two-dimensional array Data. The Data array is automatically resized to fit the size of read layer.

Last Update: 2016-Jun-29