MathGroup Archive 2001

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

Search the Archive

Re: Changing precedence of operators


> 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