DOCUMENTATION CENTER SEARCH
Mathematica
>
Built-in
Mathematica
Symbol
Arithmetic
Tutorials »
|
Subtract
Plus
SubtractFrom
See Also »
|
Mathematica Syntax
More About »
Minus
-
x
is the arithmetic negation of
x
.
MORE INFORMATION
-
x
is converted to
Times
[-1,
x
]
on input.
EXAMPLES
CLOSE ALL
Basic Examples
(4)
Minus
automatically distributes over groupings:
In[1]:=
Out[1]=
Minus
threads element-wise over lists:
In[1]:=
Out[1]=
Explicit
FullForm
:
In[1]:=
Out[1]=
In[2]:=
Out[2]//FullForm=
Pattern match both
x
and
-
x
:
In[1]:=
Out[1]=
SEE ALSO
Subtract
Plus
SubtractFrom
TUTORIALS
Arithmetic
MORE ABOUT
Mathematica Syntax
New in 1
© 2008 Wolfram Research, Inc.