LSA_Toolkit  "Release 0.3"
void LSA_Toolkit::SparseMatrix::textLoad ( std::string  filename)

Load SparseMatrix data from a text file.

Parameters:
filename- the name of the file to load

Loads data from a file where each entry is specified as row, column, value. Both row and column must be of type size_t and value must be of type double. The entries must be separated by whitespace, but no other formatting is required.

Exceptions:
runtime_error- this routine will throw a runtime_error exception if the file named in filename does not exist or cannot be opened, or if the data contained in the file is detected to be in an invalid format.
 All Classes Namespaces Files Functions Defines
Copyright © 2011 Small Bear Technologies, Inc.
LSA_Toolkit is a trademark of Small Bear Technologies, Inc.