Boost C++ Libraries: Ticket #11587: Compute index from offset and vice versa https://svn.boost.org/trac10/ticket/11587 <p> When using multi_array, or more precisely multi_array_ref, it is sometimes essential to compute a multi-dimensional index from an absolute offset from the origin, and vice versa. It is essential for inter-operability with legacy code that is not aware of multi_array. </p> <p> I believe that two methods: </p> <ul><li>multi_array::index_to_offset </li><li>multi_array::offset_to_index </li></ul><p> will do the job. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11587 Trac 1.4.3