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 CopyArrayToTimeSlot (SrcMat: TDouble3DArray; SrcLowCol, SrcHighCol, SrcLowRow, SrcHighRow, SrcLowLay, SrcHighLay, TimeSlot, DestCol, DestRow, DestLayer: integer);

The method CopyArrayToTimeSlot copies part of the 3D matrix SrcMat into the time slot TimeSlot. The range to be copied is specified in the parameters SrcLowCol, SrcHighCol, SrcLowRow, SrcHighRow, SrcLowLay, and SrcHighLay. The position of the first cell to be filled in is given by the parameters DestCol, DestRow, and DestLayer.

The parameter TimeSlot has to be within the valid range (i.e. between 1 and NrOfTimeSlots), otherwise an exception is raised. If the specified source range is larger than the destination matrix, the excess values are lost.

Last Update: 2017-Sep-29