MathGroup Archive 2013

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

Search the Archive

Re: Replacing spurious Abs

  • To: mathgroup at smc.vnet.net
  • Subject: [mg130859] Re: Replacing spurious Abs
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Tue, 21 May 2013 04:21:26 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • References: <20130521040212.C420269B3@smc.vnet.net>

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 at 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.
>
>



  • Prev by Date: Re: Replacing spurious Abs
  • Next by Date: Re: setting highlight color and font size
  • Previous by thread: Replacing spurious Abs
  • Next by thread: Re: Replacing spurious Abs