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 OpenArrays Procedures and Functions FillArraySerial | |||||||
See also: FillArray, FillDiagArray, FillArrayRix | |||||||
FillArraySerial |
|||||||
The function FillArraySerial fills the matrix Mat so that each cell holds a unique value, starting with zero at the cell with the lowest index (version [1] to [6]) or starting with Offset at the first cell (versions [7] to [13]). The value is incremented by one for each subsequent cell for versions [1] to [6] and by the value Diff for the versions [7] to [13]. Two-dimensional arrays are filled columnwise, three-dimenional arrays are columnwise and layerwise. The function returns the following error codes: 0 ... everything is OK |