Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2005-06-22 12:18:04


Am Mittwoch, 22. Juni 2005 17:30 schrieb Ingo Nolden:
> >>but how can i construct a vector with the default value like
> >> std::vector( n, value )

you have to write

vector<double> v( scalar_vector<double>(size, value) );

mfg
Gunter