|
Ublas : |
Subject: Re: [ublas] Howto convert std::vector to Ublas Vector
From: Gunter Winkler (guwi17_at_[hidden])
Date: 2009-02-03 14:10:04
Jesse Manning schrieb:
> You must give the ublas::vector the correct initial size if you are
> going to assign to its elements like that
>
Please let me add another remark:
ublas::vectors are vectors in a mathematical sense. std::vectors are
more like list, that automatically grow or shrink. Thus it is better to
compare std::valarray and ublas::vector.
mfg
Gunter