This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: two-dimensional integration


John Lapeyre writes:
 > Greetings, I need to do fourier integrals in two dimensions. Does
 > anyone have code implementing this, or something similar ?  I have
 > not used the library yet. I was planning on expanding cos(kx +
 > k'x') into products of sines and cosines and somehow using the 1-d
 > routines in a nested fashion. I guess the 1-d routines in this case
 > need to be, ... what is the word ..., re-entrant?  Has anyone had
 > experience with this ?  Thanks,

The GSL integration routines can be nested, by passing additional
workspace through the void * params argument.  I wouldn't necessarily
recommend it as a good way to compute a 2-d integral though.

Brian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]