|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 DataTable Methods CopyDataFromArray|
|See also: CopyDataToArray, CopyFrom|
The function CopyDataFromArray copies the open array SrcArray to the data table. The function returns a zero value if the copying process succeeds. If the size of SrcArray does not match the size of the data array a value of -1 is returned. In this case the data values of SrcArray which fit into the data table are copied, any excess values are ignored.
Please note that copying the data does not influence the type of variables (see section Nominal and Ordinal Data for details). If a particular column contains nominal values, the copied data are considered to be the corresponding ordinals.