
8 Oct
2005
8 Oct
'05
4:49 p.m.
I propose a collection of complex utilities. This would include:
1) is_complex 2) scalar 3) A collection of iterator adapters: 3.1) Transform complex sequence to scalar (yield alternating real/imag parts) 3.2) Inverse of 3.1 3.3) Pick off real part of complex 3.4) Pick off imag part of complex 3.5) zip 2 scalar sequences into complex sequence
I have code based on boost iterator adapter for all the above.
All sound useful, but we're not really talking type traits anymore :-) Sounds like a new submission to the Math lib maybe? John.