From: Matthias Troyer (troyer_at_[hidden])
Date: 2008-05-08 03:37:38


On May 6, 2008, at 4:08 PM, ajay gopalakrishnan wrote:

> Hi all,
>
> I am unable to initialize a matrix of size 50000 x 500 using
> ublas::matrix<float>. I think it is giving error because no
> contiguous memory is available to create. But is there a way to
> create a non-contiguous matrix ?

This should only need about 100 MByte of memory. Unless you have very
little main memory I don't see why this should cause problems.

Matthias