MathGroup Archive 2001

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

Search the Archive

Re: Changing precedence of operators

  • To: mathgroup at smc.vnet.net
  • Subject: [mg26647] Re: Changing precedence of operators
  • From: "Paul Lutus" <nospam at nosite.com>
  • Date: Sat, 13 Jan 2001 22:36:21 -0500 (EST)
  • References: <93ed52$ao@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

> Does anyone out there know now to change the precedence of operators in
> Mathematica?

Enclose them in parentheses.

Normal precedence:

z = x+x*y+y (results in x + (x*y) + y)

Forced precedence:

z = (x+x)*(y+y)

If this is not an example of what you had in mind, please be more specific,
and include an example.

--
Paul Lutus
www.arachnoid.com





  • Prev by Date: calling function in a DLL from Mathematica
  • Next by Date: InverseLaplaceTransform
  • Previous by thread: Changing precedence of operators
  • Next by thread: Sum of Squares