Boost logo

Boost Users :

Subject: Re: [Boost-users] multi_array: How to get the extends?
From: Diederick C. Niehorster (dcnieho_at_[hidden])
Date: 2012-01-30 01:15:41


See http://boost.2283326.n4.nabble.com/multi-array-Extracting-dimension-information-from-a-multi-array-td2561271.html

On Mon, Jan 30, 2012 at 14:07, Helmut Zeisel <helmut.zeisel_at_[hidden]> wrote:
> How can I get the extends of a multi_array?
>
> E.g. I have
>
> boost::multi_array<double, 3> a(boost::extents[n0][n1][n2]);
>
>
> Are there functions like
>
> a.extend(0) returning n0,
> a.extend(1) returning n1, and
> a.extend(2) returning n2
>
> (or similar)?
>
> Helmut
>
> --
> "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
> Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net