Collection of helper functions for Eigen matrices.
More...
#include <EigenIO.h>
|
static void | WriteToFile (const Eigen::MatrixXd &rMatrix, const std::string &rFileName, std::string rDelimiter=" ") |
| writes a matrix to a file More...
|
|
static Eigen::MatrixXd | ReadFromFile (const std::string &rFileName) |
| reads a matrix from a file More...
|
|
Collection of helper functions for Eigen matrices.
Eigen::MatrixXd EigenIO::ReadFromFile |
( |
const std::string & |
rFileName | ) |
|
|
static |
reads a matrix from a file
- Parameters
-
- Returns
- matrix
void EigenIO::WriteToFile |
( |
const Eigen::MatrixXd & |
rMatrix, |
|
|
const std::string & |
rFileName, |
|
|
std::string |
rDelimiter = " " |
|
) |
| |
|
static |
writes a matrix to a file
- Parameters
-
rMatrix | matrix |
rFileName | file name |
rDelimiter | delimiters between the entries in each line, default = space |
The documentation for this class was generated from the following files: