Boost logo

Ublas :

From: Haroon Khan (haroon.khan_at_[hidden])
Date: 2006-07-09 20:44:03

Is there a easy and fast way to load a 240 x 320 matrix<short> from a
buffer of shorts of that size?

I'm looking for something that works along the lines
boost::multi_array_ref, where you can pass a pointer to a contiguous
chunk of memory and the multi_array interface will allow syntax like
array2d[i][j] where array2D is multi_array_ref object.