|
MOAB
4.9.3pre
|
Pseudo expression providing matrix output with given format. More...
#include <IO.h>

Public Member Functions | |
| WithFormat (const ExpressionType &matrix, const IOFormat &format) | |
Protected Attributes | |
| const ExpressionType::Nested | m_matrix |
| IOFormat | m_format |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const WithFormat &wf) |
Pseudo expression providing matrix output with given format.
| ExpressionType | the type of the object on which IO stream operations are performed |
This class represents an expression with stream operators controlled by a given IOFormat. It is the return type of DenseBase::format() and most of the time this is the only way it is used.
See class IOFormat for some examples.
| Eigen::WithFormat< ExpressionType >::WithFormat | ( | const ExpressionType & | matrix, |
| const IOFormat & | format | ||
| ) | [inline] |
| std::ostream& operator<< | ( | std::ostream & | s, |
| const WithFormat< ExpressionType > & | wf | ||
| ) | [friend] |
Definition at line 102 of file IO.h.
{
return internal::print_matrix(s, wf.m_matrix.eval(), wf.m_format);
}
IOFormat Eigen::WithFormat< ExpressionType >::m_format [protected] |
const ExpressionType::Nested Eigen::WithFormat< ExpressionType >::m_matrix [protected] |