Re: Defining Real expressions
- To: mathgroup at smc.vnet.net
- Subject: [mg8633] Re: [mg8494] Defining Real expressions
- From: ltest at rte9-sun_5.5.1 (news_check.py)
- Date: Fri, 12 Sep 1997 04:10:47 -0400
- Organization: AT&T WorldNet Load Test
- Sender: owner-wri-mathgroup at wolfram.com
In article <5utgah$1hk$1 at dragonfly.wolfram.com> Kristina Pawlikowski <pawlikk at wl.wpafb.af.mil> wrote: > Hi Marco, > > I think what you need to do is to specify the argument type in the function Hi Marco, I think what you need to do is to specify the argument type in the function definition: f[x_,p_Real] = ....... >I must evaluate an Integral in which I'd like to assign real values to >some parameters, but I don't know how to do that. > >For example, in the following integral (a Fourier Transform): > >f[x_,p_]=Integrate[y/(x^2+y^2) Exp[-I p y],{y,-Infinity,Infinity}], > >p should be a real parameter. The output given by Mathematica is >conditioned to Im[p]==0, such as If[Im[p]==0,....,....], which is not >easy to handle, and I'd like to avoid this complication. > >Is it possible ? > >Thanks >-- >Marco Beleggia >