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: integration


Francisco J Molina writes:
 > I am using  gsl_integration_qagi to integrate a function similar to a
 > Gaussian ( it is always positive and tends to zero as x tends to +/-
 > infinity.
 > 
 > Since this function is never 0, I wonder if it is possible to modify the
 > source code to use a 60-point Gauss-Kronrod rule of QAGS?

The integration rule is fixed at compile time, but if you copy the
file integration/qags.c and its #include's into your application you
can modify the reference to the integration rule and override the
version in the library.

Brian


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