Mathematica 9 is now available

Max

Usage

Max[ ,  , ... ] 给出  中的数值最大者.
Max[  ,  , ...  ,   , ...  , ... ] 给出所有列表中的最大元素.


Notes

• 如果Max的所有参数都是实数,它得到一个明确的结果.
• 其它情形下,Max会进行一些简化.
Max[ ] 得到 -Infinity.
• 参见Mathematica 全书: 1.1.3节3.2.2节.
• 同时参见: 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]=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.