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 | |
TEigenFormatReadOnly (Eigen::MatrixBase< Derived > &matrix, Eigen::IOFormat format) | |
Static Public Member Functions | |
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::ostream & | operator<< (std::ostream &s, const TEigenFormatReadOnly< Derived > &format) |
Output stream operator for writing a matrix to stream in a given format. More... | |
std::istream & | operator>> (std::istream &is, TEigenFormatReadOnly< Derived > format) |
not supported for read-only matrices More... | |
Template class wrapping the serializing functionality of eigen to support stream operators using a given format.
This variant is for read-only matrices (<< operator supported only)
|
inline |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
friend |
Output stream operator for writing a matrix to stream in a given format.
s | The output stream |
format | The format class |
|
friend |
not supported for read-only matrices
|
protected |
The matrix that gets formatted.
|
protectedinherited |