Boost logo

Ublas :

From: Dima Sorkin (dsorkin_at_[hidden])
Date: 2005-03-14 04:02:56

Quoting will_at_[hidden]:
> Friends:
> 1) Does ublas support complex numbers?
> 2) The program below is a mixture of examples that compiles fine. I tried
> to use complex numbers with many combinations of changing vector <double>
> v (3); to vector <complex<double> >.... or vector complex<double>... None
> work. If I try to add using namespace std; above main, it won't compile.
> Therefore I am kind of stuck on what to try next.

Just to be sure, have you tried:
vector<std::complex<double> > ...