MathGroup Archive 1997

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

Search the Archive

RE: Integrate[ ] returns If[ ] function; how to say it's True?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg9387] RE: [mg9359] Integrate[ ] returns If[ ] function; how to say it's True?
  • From: jmthomas <jmthomas at cybercable.tm.fr>
  • Date: Sun, 2 Nov 1997 01:02:19 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

Try this:

If[myCondition, doA,doB]//FullForm

and then doB appears to be:

%[[3]]

------------------------------
Jean-Marie THOMAS
Conseil et Audit en Ing=E9nierie de Calcul jmthomas at cybercable.tm.fr
www.cybercable.tm.fr/~jmthomas

-----Message d'origine-----
De:	AES [SMTP:siegman at ee.stanford.edu] Date:	samedi 1 novembre 1997
09:34
=C0:	mathgroup at smc.vnet.net
Objet:	[mg9359] Integrate[ ] returns If[ ] function; how to say it's =
True?

Doing an Integrate[ ] returns an If[condition,a,b] result, with
complicated expressions for condition, a, and b.

I want to get B as input for the next cell (automatically, not by just
copying it by hand).

How can I get at the "parts" of the If[ ] statement, or use it in a
subsequent Input[ ] cell with condition set equal to True?



  • Prev by Date: RE: (Newbie) More confusion with integral of absolute vals
  • Next by Date: Re: logarithmic graphics
  • Previous by thread: Re: Integrate[ ] returns If[ ] function; how to say it's True?
  • Next by thread: Re: Integrate[ ] returns If[ ] function; how to say it's True?