 |
Times
x
*
y
*
z, x y z or x
y
z represents a product of terms.
The character is entered as * 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. See the Mathematica book: Section 1.1.1. See also: Divide, NonCommutativeMultiply, Dot.
Further Examples
This is a fast way to multiply the elements of a list.
In[1]:= 
Out[1]= 
This shows how a product is represented internally.
In[2]:= 
Out[2]//FullForm= 
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT. SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION. | | | |
 | |
|