|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....|
|Home MathPack Matrix Class TMat4D Methods CopyArrayToTimeSlot|
|See also: CopyFrom, CopyTimeSlotToArray|
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. Hint: Setting both the low and the high parameters of a particular dimension (for example, SrcLowRow and SrcHighRow) to a zero value selects the entire column, row, or layer, respectively.
The position of the first cell to be filled in is given by the parameters DestCol, DestRow, and DestLayer. Please note that the array indices for SrcMat are zero-based while TimeSlot, DestCol, DestRow, DestLayer are one-based.
The function returns the following error codes. If the specified source range is larger than the destination matrix, the excess values are lost.
0 ... everything is OK