mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
* add documentation of the cool (?) "print with format" feature
* move the ioformat.cpp test to a documentation example * rename IoFormat => IOFormat
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
std::string sep = "\n----------------------------------------\n";
|
||||
Matrix3f m1;
|
||||
m1 << 0, 1.111111, 2, 3.33333, 4, 5, 6, 7, 8.888888, 9;
|
||||
m1 << 1.111111, 2, 3.33333, 4, 5, 6, 7, 8.888888, 9;
|
||||
|
||||
IOFormat CommaInitFmt(4, Raw, ", ", ", ", "", "", " << ", ";");
|
||||
IOFormat CleanFmt(4, AlignCols, ", ", "\n", "[", "]");
|
||||
Reference in New Issue
Block a user