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 CopyTimeSlotToArray (var DestMat: TDouble3DArray; LowCol, HighCol, LowRow, HighRow, LowLay, HighLay, TimeSlot: integer): integer;

The function CopyTimeSlotToArray copies the data contained in time slot TimeSlot into the 3D array DestMat. The range of the data to be copied has to be specified in the parameters LowCol, HighCol, LowRow, HighRow, LowLay and HighLay. DestMat is automatically resized to fit the specified parameters. Hint: Setting both the low and the high parameters of a particular dimension (for example, LowRow and HighRow) to a zero value selects the entire column, row, or layer, respectively.

The function returns the following error codes:

 0 ... everything is OK
-1 ... TimeSlot is out of range

Last Update: 2019-Apr-17