Tagged Questions

Boost.MultiArray is a C++ library that provides a class template for multidimensional arrays, as well as semantically equivalent adaptors for arrays of contiguous data.

learn more… | top users | synonyms

2
votes
1answer
834 views

how to traverse a boost::multi_array

I have been looking into the boost::multi_array library in search of an iterator that allows you to traverse the whole multi_array in a single for loop. I don't think there is any such iterator in ...
1
vote
1answer
262 views

Segmentation fault on boost::multi_array

The following code gives a segmentation fault: #include <iostream> #include <fstream> #include "binItr.h" #include <boost/multi_array.hpp> using namespace std; int main(){ ...
20
votes
13answers
6k views

Boost::multi_array performance question

I am trying to compare the performance of boost::multi_array to native dynamically allocated arrays, with the following test program: #include <windows.h> #define _SCL_SECURE_NO_WARNINGS ...
3
votes
1answer
349 views

Iterating over the dimensions of a boost::multi_array

I'm trying to write some dimension-independent code for a template class in c++, using a boost::multi_array (though if other containers/data structures are better at this, I'd be happy to hear about ...