Hi,

I was just wondering if there's an easy way to "coerce" a matrix to a vector.  In other words, I have some

matrix<double> m(3,3);

and I'd like to be able to have a vector, containing the same backing storage, so that when I read from the vector I get the entries of m (in perhaps row-major order--it doesn't matter to me which order), and so that when I write to this vector, the written values are seen by accessors of m.

This might be a really easy/dumb question but I find the ublas documentation a little difficult to search for questions like this.

Cheers,
Dave