Boost logo

Ublas :

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


manik.s.m_at_[hidden] wrote:
> Here is concerned lines of code and error
>
> /*******************************************************************************************
> symmetric_adaptor<matrix<double>,lower> sal(tmpMatrix);
> atlas::potrf(sal);
>
> triangular_adaptor<matrix<double>,lower> tal(matrix<double>(sal));
>
> vector <double> tmpvec = prod(tal,shocks);
>
> /home/tombombadil/LMMBlanket/src/LMMDataEngine.cpp:288: error: no
> matching function for call to
> 'prod(boost::numeric::ublas::triangular_adaptor<boost::numeric::ublas::matrix<double,
> boost::numeric::ublas::basic_row_major<unsigned int, int>,
> boost::numeric::ublas::unbounded_array<double, std::allocator<double>
>
>>> , boost::numeric::ublas::basic_lower<unsigned int> >
>>>
> (&)(boost::numeric::ublas::matrix<double,
> boost::numeric::ublas::basic_row_major<unsigned int, int>,
> boost::numeric::ublas::unbounded_array<double, std::allocator<double>
>
>>> ), boost::numeric::ublas::vector<double,
>>>
> boost::numeric::ublas::unbounded_array<double, std::allocator<double>
>
>>> &)'
>>>
>
> ***********************************************************************************/
>
> I know usage of prod() is wrong but need someway to do this.
> Thanks.
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
>
OK,
sorry for the dilate.
what is shocks? is it a vector?