Cory Burkhardt writes: > I am using the gsl_vector_complex_alloc function, but it isn't working as I > expected. Calling gsl_vector_complex(5) returns a gsl_vector_complex with a > size of 5 and a stride of 1. This means that the vector has 5 elements and > each element is 1 double in length. Shouldn't the stride be at least 2 for > a complex vector because each element has two double values?
The size is measured in complex elements, so size = 5 means 10 doubles. Ditto for the stride. -- Brian Gough Network Theory Ltd, Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/ _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
