MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Defining Real expressions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg8538] Re: [mg8494] Defining Real expressions
  • From: Kristina Pawlikowski <pawlikk at wl.wpafb.af.mil>
  • Date: Sat, 6 Sep 1997 23:16:08 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

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
>


  • Prev by Date: MeijerG special function
  • Next by Date: B.C.'s in NDSolve for non-linear ODE's
  • Previous by thread: Re: Defining Real Expressions
  • Next by thread: Re: Re: Defining Real Expressions