public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jerome BENOIT <jgmbenoit@wanadoo.fr>
Cc: gsl-discuss@sources.redhat.com
Subject: Re: Integrals
Date: Thu, 06 Jan 2005 17:52:00 -0000	[thread overview]
Message-ID: <41DD7ABF.80809@wanadoo.fr> (raw)
In-Reply-To: <OFA9A97A16.BE8B7407-ON80256F81.005FEEAE-00256F81.0060AC06@db.com>

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.
> 
> 
> 

  parent reply	other threads:[~2005-01-06 17:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-06 17:35 Integrals Przemyslaw Sliwa
2005-01-06 17:49 ` Integrals Axel Hutt
2005-01-06 17:52 ` Jerome BENOIT [this message]
2005-01-06 17:37 Integrals Przemyslaw Sliwa
2005-01-06 17:49 ` Integrals Stewart V. Wright
2005-01-07 18:00 Integrals Przemyslaw Sliwa
2005-01-09 14:47 ` Integrals Axel Vogt
2005-01-10 10:00 ` Integrals Axel Hutt
2005-01-10 19:02 ` Integrals Brian Gough
     [not found] <OFA3B681E9.F1B060D2-ON80256F82.00655D62-00256F82.00656B63@db.com>
2005-01-10 10:00 ` Integrals Axel Hutt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41DD7ABF.80809@wanadoo.fr \
    --to=jgmbenoit@wanadoo.fr \
    --cc=gsl-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).