You can use multi_array_ref which is the multiarray that does not maintain the lifetime of it's data.
http://www.boost.org/doc/libs/1_38_0/libs/multi_array/doc/reference.html#multi_array_ref
Hi,I want to use multi-array but the original data is coming from, let say, a std::vector<float>.The data is quite big, do I need to copy it into a multi-array?Or maybe I can use a "view" as a proxy on top of the original data and therefore avoid a costly copy?Thanks,Frank
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users