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: procedure CopyMatrixToLayer (SrcMat: TMatrix; SrcLowCol, SrcHighCol, SrcLowRow, SrcHighRow, Layer, TimeSlot, LayLowCol, LayLowRow: integer);

The method CopyMatrixToLayer copies the data of the matrix SrcMat to the layer Layer at the time slot TimeSlot.

The range of the data to be copied has to be specified in the parameters SrcLowCol, SrcHighCol, SrcLowRow, and SrcHighRow. The position in the destination layer is specified by LayLowCol and LayLowRow.

The parameters Layer and TimeSlot have to be within the valid range (i.e. between 1 and NrOfLayers, and 1 and NrOfTimeSlots), otherwise an exception is raised.

Last Update: 2016-Oct-02