Boost logo

Boost Users :

Subject: [Boost-users] multi_array: How to get the extends?
From: Helmut Zeisel (helmut.zeisel_at_[hidden])
Date: 2012-01-30 01:07:01

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)?


"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen:

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at