# opentl::core::parser::MatrixFile Class Reference

List of all members.

## Static Public Member Functions
static opentl::math::Matrix * | parse (std::string &fileName)
| reads a Matrix from a given text file file format of the file: one line is representing one row of the matrix. e.g. you can use Matlab's ASCII save method

## Member Function Documentation

static opentl::math::Matrix* opentl::core::parser::MatrixFile::parse | ( | std::string & | fileName | ) | `[static]`

reads a Matrix from a given text file file format of the file: one line is representing one row of the matrix. e.g. you can use Matlab's ASCII save method

Parameters:

  | fileName | the file to load

Returns:
  The loaded matrix or NULL if an error occured (errors might be: file not found, cols differs)