DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


LoadMatrix

Declaration: LoadMatrix(FName: string; var Matrix: TDouble2DArray; var Comment: string): integer;
Loads a matrix which has been stored by the function StoreMatrix from the file FName into the two dimensionsal array Matrix. The variable Matrix is automatically resized to hold the entire array. The variable parameter Comment contains the text stored with the data.

The function resturns the following error codes:

 0 ... everything is OK
-1 ... file not found
-2 ... invalid matrix format