Boost logo

Ublas :

From: Michael Stevens (mail_at_[hidden])
Date: 2006-01-03 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
This should make assignment from a zero_vector more efficient.


Michael Stevens Systems Engineering
34128 Kassel, Germany
Phone/Fax: +49 561 5218038
Navigation Systems, Estimation  and
                 Bayesian Filtering