On Thu, Jun 24, 2010 at 13:21, <dariomt@gmail.com> wrote:

Hi list,

Suppose I have an algorithm that works over a matrix expression.

I also have a bunch of M ublas::vector's all of size N, each representing a row of a matrix.

Is it possible to create a 'view' over those vectors to pass it to the algo as a MxN matrix expression?

In this context a 'view' means that I don't need to copy the data in the vectors into a ublas::matrix

Also N >> M, both determined at runtime (i.e. N and M are not compile time constants).

Thanks!

_______________________________________________

ublas mailing list

ublas@lists.boost.org

http://lists.boost.org/mailman/listinfo.cgi/ublas

Sent to: david.bellot@gmail.com

--

David Bellot, PhD

david.bellot@gmail.com

http://david.bellot.free.fr