[eigen] default printing format

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi,

Do you think that the default IOFormat should have alignment enabled,
so that cout << matrix has aligned columns?
Pro: looks much better
Con: takes 2x more time, is useless when outputting to a file that's
not meant to be read by a human

While i'm here, here's another request i've received: that the default
precision be full precision (e.g. 16 digits for double). Here i have a
rather strong opinion against this, because the correct way to achieve
this IMO is to set the stream's precision, so that not only Eigen
matrices but all numbers use that precision. But i still wanted to run
this request through this list in case I missed something.

Benoit



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/