Implementing ComplexArray class.

Posted by Joseph Wang-2 on
URL: http://quantlib.414.s1.nabble.com/Implementing-ComplexArray-class-tp11278.html

Looking over Numerical Recipes in C++, they suggest implementing a list of N
complex numbers as an array of 2*N floats because they argue that you
maintain control of how the complex number calculations are implemented.

I'm thinking about creating a ComplexArray class that initially would use this
implementation but like all classes should have interfaces that are generic
enough so that the underlying implementation can be changed.

Thoughts?