Boost logo

Boost Users :

Subject: [Boost-users] [ublas] why is there no constructor that fills the matrix with a default value
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-01-08 07:02:43


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-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net