
Ublas : 
From: Michael Stevens (mail_at_[hidden])
Date: 20060103 15:26:50
On Tuesday, 3. January 2006 19:11, Neal Becker wrote:
> Is it true that zero_vector is exactly equivalent to a scalar_vector with
> value=0? If so, perhaps zero_vector is redundant?
I think they are implemented quite differently. zero_vector takes advantage of
the fact that everthing is zero and provide an iterator interface like sparse
type.
This should make assignment from a zero_vector more efficient.
Michael
 ___________________________________ Michael Stevens Systems Engineering 34128 Kassel, Germany Phone/Fax: +49 561 5218038 Navigation Systems, Estimation and Bayesian Filtering http://bayesclasses.sf.net ___________________________________