Thanks for bearing with me… I’m 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. It’s 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…?

 

Thanks again,

--Steve