Re: [eigen] default printing format

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




In data giovedì 13 agosto 2009 23:34:22, Keir Mierle ha scritto:
> On Thu, Aug 13, 2009 at 1:44 PM, Tim Hutt <tdhutt@xxxxxxxxx> wrote:
> > 2009/8/13 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:

> > > Do you think that the default IOFormat should have alignment enabled,
> > > so that cout << matrix has aligned columns?

> > I think that should be the default. The most common use of cout is
> > probably debugging/logging/something else that is meant to be read by
> > a human. If you need to write a non-human-readable matrix really
> > quickly I think most people would use a binary format...
>
> +1

+1

> > I agree, for the same reason as above.
>
> +1, to full precision default. To give an example why: I didn't even know
> streams *had* a precision setting! I suspect if you survey C++ programmers,

+1 too. 
And i agree, i admint i did not know about .precision() neither....

greatings,
Thomas
-- 
Thomas Capricelli <orzel@xxxxxxxxxxxxxxx>
http://www.freehackers.org/thomas



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