Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14569

Re: Replacing spurious Abs

From Bob Hanlon <hanlonr357@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Replacing spurious Abs
Date 2013-05-21 08:21 +0000
Message-ID <knfaq1$21u$1@smc.vnet.net> (permalink)
References <20130521040212.C420269B3@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Replacing spurious Abs Bob Hanlon <hanlonr357@gmail.com> - 2013-05-21 08:21 +0000

csiph-web