[multi-array] [C++ ] multi array dimensions
Hi , I want to known if exists method which give us the dimension of a multi array ...I see the documentation and i 'will say no , if no, does it exist a method to determine the dimension of a multi array ? Thanks.
On Sun, 30 Apr 2006 18:21:22 -0300, Karim Bakir <rimbak@yahoo.fr> wrote:
Hi ,
I want to known if exists method which give us the dimension of a multi array ...I see the documentation and i 'will say no , if no, does it exist a method to determine the dimension of a multi array ?
MA::dimensionality Bruno
thanks , so if I declare my multi array as : void copyMatrice (boost::multi_array<double,2>matrice1,boost::multi_array<double,2> matrice2) { int a = matrice1::dimensionaltiy; } ----- Original Message ----- From: "Bruno Martínez" <br1@internet.com.uy> Newsgroups: gmane.comp.lib.boost.user Sent: Monday, May 01, 2006 12:34 AM Subject: Re: [multi-array] [C++ ] multi array dimensions
On Sun, 30 Apr 2006 18:21:22 -0300, Karim Bakir <rimbak@yahoo.fr> wrote:
Hi ,
I want to known if exists method which give us the dimension of a multi array ...I see the documentation and i 'will say no , if no, does it exist a method to determine the dimension of a multi array ?
MA::dimensionality
Bruno
___________________________________________________________________________ Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Rendez-vous sur http://fr.yahoo.com/set
Ok so , And is it possible to retrieve the size of the dimension? ----- Original Message ----- From: "Bruno Martínez" <br1@internet.com.uy> Newsgroups: gmane.comp.lib.boost.user Sent: Tuesday, May 02, 2006 4:59 AM Subject: Re: [multi-array] [C++ ] multi array dimensions
On Mon, 01 May 2006 16:56:21 -0300, Karim Bakir <rimbak@yahoo.fr> wrote:
thanks , so
if I declare my multi array as :
void copyMatrice (boost::multi_array<double,2>matrice1,boost::multi_array<double,2> matrice2) {
int a = matrice1::dimensionaltiy;
Then a==2.
Bruno
___________________________________________________________________________ Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Rendez-vous sur http://fr.yahoo.com/set
participants (2)
-
Bruno Martínez
-
Karim Bakir