[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] recommended usage

From: Gideon Simpson
Subject: [Help-gsl] recommended usage
Date: Sun, 10 May 2009 15:46:09 -0400

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));


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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]