Some time back I mentioned I was interested in iterator adaptors to convert between vectors of complex and scalar. I have looked at using the iterator adaptor framework in boost. It appears that it is easy enough to adapt from a complex sequence to pick off either the real or imaginary part, but going the other direction is not feasible?
You would need to adapt from a pair of iterators over scalars to output an iterator over complex. Will the "new" iterator adaptor framework help?
pgp00000.pgp
Description: signature