|
Boost Users : |
From: Foster, Gareth (gareth.foster_at_[hidden])
Date: 2004-10-05 04:33:22
Excuse the slight drift offtopic, but is this part of boost intended for 3d
maths/graphics?
-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Daniel L Elliott
Sent: 04 October 2004 19:38
To: boost-users_at_[hidden]
Subject: [Boost-users] uBLAS lapack bindings
Hello,
I have a question about using uBLAS/LAPACK bindings on AIX 5.1 and VA6. I
am doing something like the following:
matrix<double> matrixTwo(200,200);
identity_matrix<double> identMatrix = identity_matrix<double>(200);
int inverseInfo = gesv(matrixTwo,identMatrix);
I am getting the following errors:
line 102.36: 1540-0130 (S)
"matrix_traits<boost::numeric::ublas::matrix<double,boost::numeric::ublas::r
ow_major,boost::numeric::ublas::unbounded_array<double,std::a\
llocator<double> > > >::size1" is not declared
"/npd/delliott/boost/numeric/bindings/traits/matrix_traits.hpp", line
102.7: 1540-0700 (I) The previous message was produced while processing
"boost::numeric::bindings::traits::matrix_size1<boost::numeric::ublas::matri
x<double,boost::numeric::ublas::row_major,boost::numeric::ublas::unbounded_a
rray<double,std::allocator<double>
> >
>(matrix<double,boost::numeric::ublas::row_major,boost::numeric::ublas::unbo
unded_array<double,std::allocator<double>
> > &)".
"/npd/delliott/boost/numeric/bindings/lapack/gesv.hpp", line 135.40:
1540-0700 (I) The previous message was produced while processing
"boost::numeric::bindings::lapack::gesv<boost::numeric::ublas::matrix<double
,boost::numeric::ublas::row_major,boost::numeric::ublas::unbounded_array<dou
ble,std::allocator<double>
> >,boost::numeric::ublas::identity_matrix<double>
>(matrix<double,boost::numeric::ublas::row_major,boost::numeric::ublas::unbo
unded_array<double,
std::allocator<double> > > &, identity_matrix<double> &)".
"test.cpp", line 120.21: 1540-0700 (I) The previous message was produced
while processing "main()".
"/npd/delliott/boost/numeric/bindings/lapack/gesv.hpp", line 99.9:
1540-0038 (S) The name "typename
traits::matrix_traits<boost::numeric::ublas::matrix<double,boost::numeric::u
blas::row_major,boost::numeric::ublas::unbounded_array<double,std::allocator
<double>
> >>::matrix_structure" is not a type.
"/npd/delliott/boost/numeric/bindings/lapack/gesv.hpp", line 95.9:
1540-0700 (I) The previous message was produced while processing
"boost::numeric::bindings::lapack::gesv<boost::numeric::ublas::matrix<double
,boost::numeric::ublas::row_major,boost::numeric::ublas::unbounded_array<dou
ble,std::allocator<double>
>
>,boost::numeric::ublas::identity_matrix<double>,boost::numeric::bindings::t
raits::detail::array<int>
>(matrix<double,boost::numeric::ublas::row_major,boost::numeric::ublas::unbo
unded_array<double,std::allocator<double>
> > &, array<int> &, identity_matrix<do...".
"/npd/delliott/boost/numeric/bindings/lapack/gesv.hpp", line 137.16:
1540-0700 (I) The previous message was produced while processing
"boost::numeric::bindings::lapack::gesv<boost::numeric::ublas::matrix<double
,boost::numeric::ublas::row_major,boost::numeric::ublas::unbounded_array<dou
ble,std::allocator<double>
> >,boost::numeric::ublas::identity_matrix<double>
>(matrix<double,boost::numeric::ublas::row_major,boost::numeric::ublas::unbo
unded_array<double\
,std::allocator<double> > > &, identity_matrix<double> &)".
As I understand it, I can simply pass the uBLAS matrix types and the
traits/lapack .hpp files will take care of the rest.
Any light that could be shed upon this subject would be of great
assistance. By the way, I would have happily send this to uBLAS-dev, but
have not been admitted yet :(
Thank you,
Dan
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
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