Boost logo

Ublas :

From: dvir schirman (dvir.boost_at_[hidden])
Date: 2006-05-11 05:44:32


Hi

I want to compare between two vectors.
I tried to write:

vector<float> v1(3);
vector <float> v2(3);
if (v1==v2)
{
...
}

Obviously it didn't work.
Is there an operator which make this compare. Or should I do it for each
element in the vector separately?

Thanks.
Dvir.