Boost logo

Ublas :

From: Hugo Duncan (hugoduncan_at_[hidden])
Date: 2006-11-21 19:09:11


Hi,

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;
   boost::numeric::bindings::lapack::gesvd('A','A',M,S,U,Vt);
}

The error message is:
    c:/cygwin/home/DUNCAN/boost-sandbox/boost/numeric/bindings/traits/ublas_matrix.hpp:78:
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.

Hugo