DOCUMENTATION CENTER SEARCH
Mathematica
>
Arithmetic Functions
>
Built-in
Mathematica
Symbol
Arithmetic
Operators
Tutorials »
|
Divide
TimesBy
NonCommutativeMultiply
Dot
See Also »
|
Arithmetic Functions
Mathematical Functions
Matrices and Linear Algebra
Matrix Operations
Operations on Vectors
Mathematica Syntax
More About »
Times
(*, ×)
x
*
y
*
z
,
x
×
y
×
z
or
x
y
z
represents a product of terms.
MORE INFORMATION
The character
×
is entered as
Esc
*
Esc
or
\[Times]
. It is not the same as
\[Cross]
.
Times
has attributes
Flat
,
Orderless
and
OneIdentity
.
The default value for arguments of
Times
, as used in
x_.
patterns, is
1
.
Times
[]
is taken to be
1
.
Times
[
x
]
is
x
.
0
x
evaluates to
0
, but
0.0
x
is left unchanged.
Unlike other functions,
Times
applies built-in rules before user-defined ones. As a result, it is not possible to make definitions such as
2*2=5
.
EXAMPLES
CLOSE ALL
Basic Examples
(3)
Enter
Times
with spaces; × is added automatically between numbers:
In[1]:=
Out[1]=
Alternative form:
In[2]:=
Out[2]=
Times
threads element-wise over lists:
In[1]:=
Out[1]=
In[2]:=
Out[2]=
Explicit
FullForm
:
In[1]:=
Out[1]=
Properties & Relations
(3)
SEE ALSO
Divide
TimesBy
NonCommutativeMultiply
Dot
TUTORIALS
Arithmetic
Operators
MORE ABOUT
Arithmetic Functions
Mathematical Functions
Matrices and Linear Algebra
Matrix Operations
Operations on Vectors
Mathematica Syntax
RELATED LINKS
NKS|Online
(
A New Kind of Science
)
New in 1 | Last modified in 3
© 2008 Wolfram Research, Inc.