Boost logo

Ublas :

From: Timo.J.Mustonen_at_[hidden]
Date: 2005-08-23 03:15:36


I upgraded boost from 1.32 to 1.33 and noticed a change in ublas vector and matrix initialisation. In 1.32 the documentation of vector and matrix types stated that "Elements are zeroed by default". In 1.33 the documentation (and behaviour) has changed to "Elements are constructed by A, which need not initialise their value".

The question is that what is the correct way to instantiate a vector (or matrix) so that elements are zeroed in version 1.33 like they were in older version?


- Timo Mustonen