Boost logo

Ublas :

From: Sorkin Dima (dsorkin_at_[hidden])
Date: 2007-07-15 11:19:22


Hi.
  Ublas defines and can work with "vector of vector adaptors"
as matrices. Does somebody have a quick hint where are they defined
and is there some documentation ?

Thanks, regards,
  Dima.

P.S. motivation:
  I need to implement an associative container,
key for which will be two unsigned numbers (i,j),
such that 0 < i < M, 0 < j < N, where M and N are
known at construction time.
  The index "i" will probably be fully ocupied, i.e.
there will exist some entries for each "i". Required
high performance on "read", and not "too" loose performance
on random "write" (O(row_length) is ok).
Large memory footprint may be a problem too.

Being lazy I first considered a CSR matrix of ublas,
but it seems to be too loose on random "write", as it
is O(total amount of entries).