 |
Max
Max[
,
, ... ] yields the numerically largest of the . Max[
,
, ...
,
, ...
, ... ] yields the largest element of any of the lists.
Max yields a definite result if all its arguments are real numbers. In other cases, Max carries out some simplifications. Max[
] gives -Infinity. See the Mathematica book: Section 1.1.3, Section 3.2.2. See also: Min, Order.
Further Examples
This gives the maximum value of this one-dimensional list.
In[1]:= 
Out[1]= 
You can also find the maximum value in a multi-dimensional list.
In[2]:= 
Out[2]= 
Here is a function that returns each element in a list that is greater than all previous elements.
In[3]:= 
In[4]:= 
Out[4]= 
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT. SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION. | | | |
 | |
|