Hello, 
I would like to calculate for B=NxN matrix and A=N vector following operation:
RES= A (dot) B (dot) A^T


using namespace boost::numeric::ublas;
matrix<double> B (2, 2);
matrix<double> A(1, 2);
// this works when I do step by step
matrix<double> res=prod(A,B);
res=prod(res,trans(B));

// but this does not compile
res=prod(prod(A,B),trans(A))  // it gives error  error C2027: use of undefined type 'boost::STATIC_ASSERTION_FAILURE<x>'
So what is the difference with previous?

Thanks Arman.