|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 LoadSparseMat|
|See also: StoreSparseMat, LoadFromFile, LoadFromStream, StoreOnFile, SaveToStream|
The function LoadSparseMat reads matrix data from the disk file FileName. The data have to conform to the format used by the method StoreSparseMat. The function returns a TRUE value if the data have been successfully read. A FALSE value indicates that there was a problem, either invalid data, or too little or too many elements.
Please note that LoadSparseMat does not automatically set the zero values. The user therefore has the choice of either adding additional values stored on the file, or creating an entirely new matrix by clearing the existing matrix before loading data from a file.