Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1997
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

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

Search the Archive

Re: Defining Real Expressions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg8535] Re: Defining Real Expressions
  • From: Raya Firsov-Khanin <raya at mech.ed.ac.uk>
  • Date: Sat, 6 Sep 1997 23:16:07 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Marco Beleggia wrote:

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

The simplest way to deal with this is to declare

p/:Im[p]=0

Then, f[x, p] will give you an answer (if Arg[x^2]!=\[Pi]).

-------		
		              Raya Khanin


  • Prev by Date: Re: laplace transform
  • Next by Date: Integer Values
  • Previous by thread: Re: Defining Real expressions
  • Next by thread: Re: Defining Real expressions