|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 Vector Methods CopyFromArray|
|See also: CopyFrom, CopyToArray|
The method CopyFromArray copies the cells of the dynamic array SrcArray into the vector. The parameter Elem specifies the first element to be used in the vector (the cell SrcArray is copied to self[ELem], all other cells are copied to higher indices, see figure below).
If the source array does not fit into the vector all excess cells are ignored.