|
Ublas : |
From: Gunter Winkler (guwi17_at_[hidden])
Date: 2006-09-14 02:56:21
On Wednesday 13 September 2006 18:57, Alion Sci wrote:
> ublas::vector<double> vec1(10) ; // create 1st vector with 10 elements
> ublas::vector<double> vec2(10) ; // create 2nd vector with 10 elements
> ublas::vector<double> vec3(10) ; // create 3rd vector with 10 elements
> .
> vec3 = vec1 + vec2; // add the first two vectors together
This works perfectly in all my programs. Can you post a full sample code?
Maybe there is a problem with headers.
mfg
Gunter