Boost logo

Ublas :

From: Sourabh (sourabh_at_[hidden])
Date: 2007-03-06 01:40:46


Hi,
I have a dense vector whose size is not known at the time of creation.
However, I want to fill entries into the vector. What is the most
efficient way of doing this ?

Also, is there any constant time operation to get the number of non-zero
elements in a sparse vector ?

-- 
-- Sourabh