If I'm using the gsl_vector structure with something like the discrete hankel transform, which is the recommended usage:

int n = 50;
t = gsl_dht_new(n, 1.0, 10.0);
gsl_vector *f_in = gsl_vector_alloc(n);
gsl_vector *f_out = gsl_vector_alloc(n);

// blah blah code putting values into f_in


gsl_dht_apply(t, gsl_vector_ptr(f_in, 0), gsl_vector_ptr(f_out, 0));

or

gsl_dht_apply(t, f_in->data, f_out->data);


-gideon



_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to