$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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?
}