MathGroup Archive 2003

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

Search the Archive

Re: Negation of Negation wanted

  • To: mathgroup at smc.vnet.net
  • Subject: [mg44192] Re: Negation of Negation wanted
  • From: "wouter meeussen" <wouter.meeussen at pandora.be>
  • Date: Sat, 25 Oct 2003 06:27:04 -0400 (EDT)
  • References: <bmqpnl$rhi$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

simply

Map[Not, f[x], {0, 1}]

read all about Map, and check the
"Level specifications are described in SectionA.3.6."
(Mathematica has the best help browser ever!
 a hidden treasure, use it!)

you want levels 0 and 1.

W.


"Thomas Gutzler" <gutzler at itiv.uni-karlsruhe.de> wrote in message
news:bmqpnl$rhi$1 at smc.vnet.net...
> Hi,
>
> Assuming f(x) = x1 && x2
>
> Is there a way to get !f(!x), which is:
> !(!x1 && !x2) = x1 || x2
> without copy&paste and manually change it?
>
> Cheers,
>    Tom
>


  • Prev by Date: Re: ask for help on list operation
  • Next by Date: Re: Baffling Failure when plotting multiple curves.
  • Previous by thread: Re: Negation of Negation wanted
  • Next by thread: two's complement function