|
Ublas : |
From: Georg Baum (Georg.Baum_at_[hidden])
Date: 2005-03-14 04:17:38
Hello Will,
Am Sonntag, 13. März 2005 21:31 schrieb will_at_[hidden]:
> Friends:
> 1) Does ublas support complex numbers?
Yes.
> 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.
It does work with current CVS (see attached file). The output is:
[3](0,1,2)
[3,3]((0,1,2),(3,4,5),(6,7,8))
[3](5,14,23)
[3]((0,0),(1,0),(2,0))
[3,3](((0,0),(1,0),(2,0)),((3,0),(4,0),(5,0)),((6,0),(7,0),(8,0)))
[3]((5,0),(14,0),(23,0))
> Therefore I am kind of stuck on what to try next.
We need more information in order to help you:
- What ublas version?
- os and compiler (name and version)
- Exact compiler error messages
Georg