Boost logo

Ublas :

From: Hugo Duncan (hugoduncan_at_[hidden])
Date: 2006-11-22 11:35:58


I am having problems compiling the following code using CVS boost and
boost-sandbox. Any help appreciated.

#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/bindings/traits/ublas_matrix.hpp>
#include <boost/numeric/ublas/matrix_proxy.hpp>
#include <boost/numeric/bindings/lapack/gesvd.hpp>

int main(int, char**)
     boost::numeric::ublas::matrix<double> M,U,Vt;
     boost::numeric::ublas::vector<double> S;

The error message is:
error: `size2' is not a member of `boost::numeric::ublas::row_major'

Not sure if I have missed something. I don't expect the above code to run
- just a minimal example that I believe should compile if I have
understood correctly.


Using Opera's revolutionary e-mail client: