$treeview $search $mathjax
Eigen
3.2.5
$projectbrief
|
$projectbrief
|
$searchbox |
Pseudo expression providing matrix output with given format. More...
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.
std::ostream & operator<< | ( | std::ostream & | s, | |
const WithFormat< ExpressionType > & | wf | |||
) | [friend] |
Outputs the matrix, to the given stream.
If you wish to print the matrix with a format different than the default, use DenseBase::format().
It is also possible to change the default format by defining EIGEN_DEFAULT_IO_FORMAT before including Eigen headers. If not defined, this will automatically be defined to Eigen::IOFormat(), that is the Eigen::IOFormat with default parameters.