MathGroup Archive 2001

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

Search the Archive

Custom Function's Rules Ignored in Simplify/FullSimplify?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27828] Custom Function's Rules Ignored in Simplify/FullSimplify?
  • From: "Steve W. Brewer" <ste-ve at kate-ch.com>
  • Date: Mon, 19 Mar 2001 01:29:21 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

I'm having a problem with Mathematica 4.0.


Say I define a function:

    f[x_ /; x > 1] := 99


Then I try a Simplify or FullSimplify using assumptions:

    FullSimplify[f[x], x > 1]


Obviously, the correct result should be:

    99


But the best I can get Mathematica to do is:

    f[x]


How can I get Mathematica to incorporate my function's rules into Simplify
and FullSimplify?


Thanks,
Steve W. Brewer
(Remove the two dashes from my email address to send email.)




  • Prev by Date: Re: Export MIDI?
  • Next by Date: Graphics for Shaded Curved Regions
  • Previous by thread: Registering an imported image with a plot
  • Next by thread: Re: Custom Function's Rules Ignored in Simplify/FullSimplify?