Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-08-06 14:30:32


AMDG

Ed wrote:
> But I want to use Boost matrix where I don't know the size at the time
> the matrix is declared.

ublas::matrix has a resize function.

matrix<double> m;
//...
m.resize(3, 3);

In Christ,
Steven Watanabe


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