|
Boost Users : |
From: Graham Reitz (graham.cpp_at_[hidden])
Date: 2007-09-04 13:16:35
How do you access the data in the example below?
Thanks much,
Graham
boost::multi_array<double,2> multi_test;
boost::multi_array<double,2>::iterator multi_test_iter;
boost::multi_array<double,2>::extent_gen extents;
multi_test.resize(extents[2][3]);
for (multi_test_iter = multi_test.begin();
multi_test_iter != multi_test.end(); ++multi_test_iter)
{
// How do you get(set) at the current data set pointed to by multi_test_iter?
}
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