Boost logo

Boost :

Subject: [boost] [Fwd: [ublas] why is there no constructor that fills the matrix with a default value]
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-01-19 16:52:05


I didn't get any response to this, so I'll try again.

Thanks

-Thorsten


attached mail follows:


Hi,

I was a bit surprised that there is no way to fill a triangular_matrix
with a default value. Say, I would have expected this to work:

triangular_matrix<double> m(42,42,42);

Is there any reason why this constructor is not provided?

Thanks

-Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk