Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2007-03-10 07:11:23


Neal Becker schrieb:
> So, my question is, would this be a reasonable thing to attempt, and what
> would be the basic approach? (Assume this is one example of a related set.
> Other related members would be:
>
> * convert a pair of real vectors to complex
> * convert a real vector to complex, mapping
> c[n] = a[n]
> Actually, we can already do that, I think.
>
I think a possible aproach is to write some vector proxies (similar to
vector_range, vector_indirect, ...) that do the mappings. So you suggest
to classes:
1) double[2N] -> complex[N]
2) two double[N] -> complex[N]

right?

mfg
Gunter