Boost logo

Ublas :

From: Neal Becker (ndbecker2_at_[hidden])
Date: 2007-03-12 10:08:48


Gunter Winkler wrote:

> 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?
>

I looked at vector_range a bit. I'm tempted to try this, but there are a
few things I'm not sure about. I wonder if there is any documentation?

Specifically, what are:
closure_type (and const_closure_type)
vector_closure_type