|
Ublas : |
Subject: Re: [ublas] recommendation for submatrix assignment
From: Umut Tabak (u.tabak_at_[hidden])
Date: 2010-08-09 08:02:15
On 08/09/2010 01:56 PM, Nasos Iliopoulos wrote:
> Umut,
> although not well advertised you may want to try to construct your
> matrices using a generalized_vector_of_vectors and then copy it to the
> final format (I think this is the fastest in Guntler's examples).
that option seems to be the fastest indeed, I will investigate that
approach soon.
> It usually works better in random assignments, but I am not sure this
> will work for you.
>
> Your timings suggest that you do, but I would like to remind to use
> -NDEBUG in your compilation options.
yes, I use -DNDEBUG -O3.