|
DMP_BBO library
|
Source file for input/output of Eigen matrices to ASCII files. More...

Go to the source code of this file.
Functions | |
| template<typename Scalar , int RowsAtCompileTime, int ColsAtCompileTime> | |
| bool | loadMatrix (std::string filename, Eigen::Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime > &m) |
| Load an Eigen matrix from an ASCII file. More... | |
| template<typename Scalar , int RowsAtCompileTime, int ColsAtCompileTime> | |
| bool | saveMatrix (std::string directory, std::string filename, Eigen::Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime > matrix, bool overwrite) |
| Save an Eigen matrix to an ASCII file. More... | |
| template<typename Scalar , int RowsAtCompileTime, int ColsAtCompileTime> | |
| bool | saveMatrix (std::string filename, Eigen::Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime > matrix, bool overwrite) |
| Save an Eigen matrix to an ASCII file. More... | |
Source file for input/output of Eigen matrices to ASCII files.
Implementations are in the tpp file
This file is part of DmpBbo, a set of libraries and programs for the black-box optimization of dynamical movement primitives. Copyright (C) 2014 Freek Stulp, ENSTA-ParisTech
DmpBbo is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
DmpBbo is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with DmpBbo. If not, see http://www.gnu.org/licenses/.
Definition in file EigenFileIO.tpp.
|
inline |
Load an Eigen matrix from an ASCII file.
| [in] | filename | Name of the file from which to read the matrix |
| [out] | m | The matrix that was read from file |
Definition at line 33 of file EigenFileIO.tpp.
|
inline |
Save an Eigen matrix to an ASCII file.
| [in] | directory | Name of the directory to which to save the matrix |
| [in] | filename | Name of the file to which to save the matrix |
| [in] | matrix | The matrix to save to file |
| [in] | overwrite | Whether to overwrite any existing files |
Definition at line 83 of file EigenFileIO.tpp.
|
inline |
Save an Eigen matrix to an ASCII file.
| [in] | filename | Name of the file to which to save the matrix |
| [in] | matrix | The matrix to save to file |
| [in] | overwrite | Whether to overwrite any existing files |
Definition at line 112 of file EigenFileIO.tpp.
1.8.11