Stores a set of parameters controlling the way matrices are printed. More...
Public Member Functions | |
| IOFormat (int _precision=4, int _flags=Raw, const std::string &_coeffSeparator=" ", const std::string &_rowSeparator="\n", const std::string &_rowPrefix="", const std::string &_rowSuffix="", const std::string &_matPrefix="", const std::string &_matSuffix="") | |
Stores a set of parameters controlling the way matrices are printed.
List of available parameters:
Example:
Output:
1.11 2 3.33
4 5 6
7 8.89 9
----------------------------------------
<< 1.111, 2, 3.333, 4, 5, 6, 7, 8.889, 9;
----------------------------------------
[1.111, 2, 3.333]
[ 4, 5, 6]
[ 7, 8.889, 9]
----------------------------------------
[1.111, 2, 3.333;
4, 5, 6;
7, 8.889, 9]
----------------------------------------
[[1.111, 2, 3.333];
[ 4, 5, 6];
[ 7, 8.889, 9]]
----------------------------------------
|
inline |
Default contructor, see class IOFormat for the meaning of the parameters
1.8.6