|
Ublas : |
From: manik.s.m_at_[hidden]
Date: 2008-08-27 03:25:13
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.