Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Replacing spurious Abs
Replies: 1   Last Post: May 21, 2013 4:21 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Bob Hanlon

Posts: 906
Registered: 10/29/11
Re: Replacing spurious Abs
Posted: May 21, 2013 4:21 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


Abs[exp] /. Abs[x_] -> x


exp



or



Abs[exp] /. Abs -> Identity


exp



Bob Hanlon


On Tue, May 21, 2013 at 12:02 AM, <
carlos.felippa%colorado.edu@gtempaccount.com> wrote:

> Hi,
>
> Sometimes I get Abs[exp] from Simplify or Integrate, when it should be
> simply exp.
> Is there a simple way to get rid of the Abs, when exp may be an arbitrarily
> complex expression? Something like /.Abs[#]->#? Thanks.
>
>





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.