Boost logo

Ublas :

From: Nico Galoppo (nico_at_[hidden])
Date: 2007-03-09 15:23:59


You can use any algorithm that works on stl containers, using begin() and end()
iterators.

You'll have to be careful for sparse matrices though. But for those, any
non-inserted element is assumed zero.

--nico

Gross, Steve wrote:
> I just started learning ublas recently. I see that the containers do not
> initialize their values by default. What’s the best way to quickly
> assign all the values in a vector or matrix?

-- 
Nico Galoppo        UNC-CH PhD. student        http://www.ngaloppo.org
                       +1-919-942-4388