Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2007-10-01 15:27:56

Am Montag, 1. Oktober 2007 18:23 schrieb Nico Galoppo:
> Hi Gunter,
> I like the efforts your are putting into having some sort of sparse
> vector support in ublas. Just as a heads-up, is it possible that you
> are using the wrong nomenclature when calling your functions
> scatter/gather? I believe that gather is a better name for converting
> a sparse set (like a sparse vector) into a dense set (like your
> working set). Scatter is a better name for taking elements from a
> dense set (working set) and putting them into (or 'scattering' them
> into) a sparse vector.

I have to review this. From the numeric textbook it should be

  copy values from (dense) y into (sparse) x, use indices stored in x

  copy values from (sparse) x into (dense) y, use indices stored in x

see also