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


Przemyslaw Sliwa wrote:

Thanks for this,

One additional question would be how to calculate the integral of a real part of a function:

exp(- 1 \phi \ln(k) f(x, v, T; \phi))
---------------------------------------------
                i\phi

I used the LaTeX notation. Can anyone help me with this?


well, the real part would be

-sin(\phi \ln(k) f(x))/\phi

and this might be solvable by the mentioned function. Did you try it with *gsl_integration_qagi ?

*Axel


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