Boost logo

Ublas :

From: Nico Galoppo (nico_at_[hidden])
Date: 2006-11-22 12:21:35


Hi,

I ran into similar problems in the past. Look at this thread in the archives for
a possible solution:

[ublas] size2 not a member of 'boost::numeric::ublas::basic_column_major<>'

Especially the post by Gunter on 6/7/2006.

HTH,

--nico

Hugo Duncan wrote:
> 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

-- 
nico galoppo von borries     |  address: 119 fidelity st., carrboro
comp. graphics phd. student  |           north carolina, 27510 USA
UNC, chapel hill             |  phone: +1 (919) 962-1898 (office)
                              |         +1 (919) 942-4388 (home)
                              |  email: nico at cs dot unc dot edu
                              |  homepage: http://www.ngaloppo.org