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


Hello,

in this case, the general idea is to split your domain in three parts:
SUM(-infinity,+infinity)=SUM(-infinity,a)+SUM(a,b)+SUM(b,+infinity),
with -infinity < a < b < +infinity .
Then, by figuring out an appropriate changement of variable,
you may be able to reduce your three integrals into three finite integrals
to which you can easily apply the function exposed in the Chapter "Numerical Integration".

hth,
Jerome

Przemyslaw Sliwa wrote:
All,
                                                INF
                                                 /
I would like to know if it is possible to calculate the integral of type  I f(x)dx using gsl. If yes can someone explain me how it is done?
                                                /
                                                       -INF

Thank you for help,

Pshemek


--


This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.





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