Boost logo

Ublas :

Subject: Re: [ublas] matrix console output
From: Michael (ublas_at_[hidden])
Date: 2009-06-11 06:48:50

Jesse Perla wrote:
> On Tue, Jun 9, 2009 at 9:45 AM, Rhys Ulerich <rhys.ulerich_at_[hidden]
> <mailto:rhys.ulerich_at_[hidden]>> wrote:
> It is much prettier. Any way that could be refactored into some kind
> of a helper? Or for the original version to be some kind of a helper?
> The older, uglier output is better suited to tracing/logging patterns
> where one thought goes on one line.
> Absolutely. I need to have the 1 line output for my log files, but
> also want pretty printing. Perhaps switched with stream manipulators?
> ------------------------------------------------------------------------
here's a little update, you can decide for yourself if you like to apply
the changes or keep the old code. just as for the properties::precision,
you could perhaps build in a properties::verbose and then switch to the
old code on demand.