Boost logo

Boost Users :

From: YYW (yyw1_25_at_[hidden])
Date: 2006-10-13 02:43:01


Hi all,
I'm a newcomer to uBlas.
Please consider the following code:

identity_matrix<double> matI(3);
int row = matI.size1();
int col = matI.size2();

now that matI has the same number of rows and columns, why the
identity_matrix template class has two "size" member functions: size1() and
size2()? And has two "size" member variables: size1_ and size2_? Why not use
just size() and size_?


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