Boost logo

Ublas :

From: Dima Sorkin (dsorkin_at_[hidden])
Date: 2005-03-11 11:41:52


Quoting Andreas Klöckner <kloeckner_at_[hidden]>:
  ...
> necessitating a copy of UBlas's matrices, which use std::complex (and
> thus packed complex storage).
  ...

Hi.
  Why is it expensive to make a temporary copy of matrix data into format needed
by Umfpack, when calling Umfpack functions ? It cannot make a big impact on
execution times, if there is enough memory.

Regards,
  Dima.

P.S.
(The approach of "copying" could simplify writing bindings to any library,not
only umfpack .
If someone solves a numerical problem, and can't afford exactly one temporary
copy of sparse matrix that he has,does this mean that that problem is too big
for the specific computer, regardless of the numeric libraries used ?)