Hi, how could I define a boost::ublas::matrix with each element a fixed size vector?
I try to define it by
but get the following error:Code:matrix< vector<double, 3> > double_matrix ;
Actually, the following code doesn't work too, getting the same error:Code:main.cpp:18: error: template argument 1 is invalid main.cpp:18: error: template argument 3 is invalid main.cpp:18: error: expected unqualified-id before ‘>’ token
So, matrix doesn't support this type of declaration?Code:matrix< vector<double> > double_matrix ;
Thanks!



LinkBack URL
About LinkBacks


