Boost logo

Ublas :

From: Nizar Khalifa Sallem (nksallem_at_[hidden])
Date: 2008-08-27 04:24:57


manik.s.m_at_[hidden] wrote:
> yes,
> I just want to convert / or use a triang_ada as matrix for product with vector
> thanks
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
>
ok,
so first of all you need to be sure of the sizes I mean your
matrix.size2() == vector.size()
then triangualr adaptor or any other adaptor aren't meant to be used
this way (at least I guess). They are meant to make triangular matrixes
or symmetric one behave as standard matrixes so i guess if you try to do
prod(matrix, vector) it should work.