Hi list, first post here, I'm trying to perform some programs that need to mix double and complex values. I came to a problem when trying to perform something like:
gsl_vector_complex *F = gsl_vector_complex_alloc( 5 ); gsl_vector_complex_set_zero( F ); gsl_vector_complex_set( F, 0, 2.0 ); And it complains about being '2.0' double type and now gsl_complex. Is there any way faster to do it without defining a new gsl_complex variable with 2.0? I think it must be but I haven't found it :-? - Alejandro Cámara _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
