MIRA
|
Template class wrapping the serializing functionality of eigen to support stream operators using a given format. More...
#include <math/EigenFormat.h>
Public Member Functions | |
TEigenFormat (Eigen::MatrixBase< Derived > &matrix, Eigen::IOFormat format) | |
Static Public Member Functions | |
static std::string | getToken (std::istream &is, std::size_t maxlength=255, char keepwhitespace=0) |
static void | putback (std::istream &is, int num) |
static int | match (std::istream &is, const std::string str1, const std::string str2) |
static void | match (std::istream &is, const std::string str) |
static Eigen::IOFormat | matlab (int precision=4) |
static Eigen::IOFormat | clean (int precision=4) |
static Eigen::IOFormat | eigen (int precision=-1) |
static Eigen::IOFormat | python (int precision=4) |
Protected Attributes | |
Eigen::MatrixBase< Derived > & | mMatrix |
The matrix that gets formatted. More... | |
Eigen::IOFormat | mFormat |
Friends | |
std::istream & | operator>> (std::istream &is, TEigenFormat< Derived > format) |
Input stream operator for reading a matrix from stream in a given format. More... | |
Template class wrapping the serializing functionality of eigen to support stream operators using a given format.
This variant supports reading and writing, hence the >>operator is available.
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
friend |
Input stream operator for reading a matrix from stream in a given format.
is | The input stream |
format | The format class |
|
protectedinherited |
The matrix that gets formatted.
|
protectedinherited |