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....



LoadSparseMat


Unit:SDL_matrix
Class: TIntMatrix
Declaration: function LoadSparseMat (FileName: string): boolean;

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.



Last Update: 2023-Feb-06