From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28395 invoked by alias); 10 Jan 2005 10:00:09 -0000 Mailing-List: contact gsl-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sources.redhat.com Received: (qmail 2886 invoked from network); 7 Jan 2005 18:24:00 -0000 Message-ID: <41DED3BF.5000304@physik.hu-berlin.de> Date: Mon, 10 Jan 2005 10:00:00 -0000 From: Axel Hutt User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20040913 MIME-Version: 1.0 To: Przemyslaw Sliwa Cc: gsl-discuss@sources.redhat.com Subject: Re: Integrals References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-q1/txt/msg00050.txt.bz2 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