Reshaping a vector/matrix using UBLAS

Hello all Boost users. I need to figure out if it is possible to reshape a 30x30x30 matrix into a 1x27000 vector, and the other way around. My vector is way bigger, but if a 30x30x30 matrix can be reshaped into a 1x27000 vector and back, so can a huge vector of size 5505720 elements. So please help me find out if reshaping like this is possible. Thank you

Is this really not possible to do in boost? 2007/1/10, Arne Hansen <bsd.diverse@gmail.com>:
Hello all Boost users.
I need to figure out if it is possible to reshape a 30x30x30 matrix into a 1x27000 vector, and the other way around. My vector is way bigger, but if a 30x30x30 matrix can be reshaped into a 1x27000 vector and back, so can a huge vector of size 5505720 elements.
So please help me find out if reshaping like this is possible. Thank you

Am Donnerstag, den 11.01.2007, 09:50 +0100 schrieb Arne Hansen:
Is this really not possible to do in boost?
2007/1/10, Arne Hansen <bsd.diverse@gmail.com>:
Hello all Boost users.
I need to figure out if it is possible to reshape a 30x30x30 matrix into a 1x27000 vector, and the other way around. My vector is way bigger, but if a 30x30x30 matrix can be reshaped into a 1x27000 vector and back, so can a huge vector of size 5505720 elements.
So please help me find out if reshaping like this is possible. Thank you
_______________________________________________
I don't know, but this this question IMHO belongs to ublas@lists.boost.org You can subscribe at: http://lists.boost.org/mailman/listinfo.cgi/boost-users Regards, Maik

Am Donnerstag, den 11.01.2007, 09:50 +0100 schrieb Arne Hansen:
Oops, the link I posted before was for the boost-users list. For subscribing to boost-ublas goto http://lists.boost.org/mailman/listinfo.cgi/ublas Maik
participants (2)
-
Arne Hansen
-
Maik Beckmann