Hi, in fact type gsl_complex_vector doesn't exist in any header. I think you should use gsl_complex_packed_array that i simply a double array of doubled dimension with respect to your data array with the real part followed by the imaginary:
complex[0] = a0 + j b0 complex[1] = a1 + j b1 . . . complex[N] = aN + j bN gsl_complex_packed_array data; data[0] = a0; data[1] = b0; data[2] = a1; data[3] = b1; . . . data[2N-1] = aN; data[2N] = bN; Bye Ale 0On Mon, 2006-04-03 at 09:39 -0500, Cory Burkhardt wrote: > I am attempting to perform FFT operations on complex vectors. In the FFT > section of the documentation, it makes a comment about using a > gsl_complex_vector type, but this type is not described anywhere in the > documentation. In the section on Vectors, the gsl_vector's stride member is > described, but nowhere does it describe how to modify the size and stride > members. If I want to create a complex vector with 5 complex numbers, would > I create a gsl_vector of size 10 and manually modify the stride to be 2? > > > > Cory Burkhardt > > _______________________________________________ > Help-gsl mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-gsl _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
