|
Ublas : |
From: Nico Galoppo (nico_at_[hidden])
Date: 2007-03-21 10:41:39
Are you including all necessary headers?
Gross, Steve wrote:
> Thanks for bearing with me
Im trying to get a simple matrix product
> operation to work (A * B = C). The code looks a bit like this:
>
>
>
> //================================
>
> Ublas::matrix<double> A(5,5), B(5,5);
>
>
>
> /* A and B get populated
*/
>
>
>
> Ublas::matrix<double> C = ublas::prod(A, B);
>
> //================================
>
>
>
> Unfortunately, the compiler complains. Its a huge template error
> message, but it ends with BOOST_UBLAS_SAME was not declared in this
> scope. Am I not using ublas::prod() correctly? It looks like it should
> return a vector
?
-- Nico Galoppo UNC-CH PhD. student http://www.ngaloppo.org +1-919-942-4388