|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 Classes TIntMatrix, TMatrix and TMat3D Methods CopyFromArray|
|See also: CopyFrom, CopyFromVec, CopyToArray, CopyArray|
The method CopyFromArray copies the cells of the dynamic array SrcArray into the matrix. The parameters Col and Row specify the first column and row to be used in the matrix (the cell SrcArray[0,0] is copied to self[Col,Row], all other cells are copied to higher indices, see figure below).
If the source array does not fit into the matrix all excess cells are ignored.