On 13 December 2011 08:55, boostnewbie <markin@gmx.de> wrote:
I want to use the boost matrices, and I have examples how to deal with that.
But now, I want to
store those matrix in a std-Array or an std-list. To do this, I must be able
to name the type of for example a 3X3 matrix.

I mean I nbeed an expressione similar to
std::vector<matrix&lt;double>> trafos;
but I donīt know how to say that the matrix is a 3X3 type.

This isn't directly possible with ublas' matrices since the dimensions are not part of the type but are specified on construction of a matrix. You'll need to extend or wrap the matrix or vector to perform a check on insertions to ensure that non-3x3 matrices are not inserted.


--
Rob Desbois
Blog: http://theotherbranch.wordpress.com/
"I disapprove of what you say, but I’ll defend to the death your right to say it", Voltaire