|
From: Joseph W. <jo...@gn...> - 2006-10-01 23:44:13
|
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? |