Mathematica 9 is now available

Last

Usage

Last[expr] 给出 expr的最后一个元素.


Notes

Last[expr] 等于 expr[[-1]].
• 参见 Mathematica 全书: 1.8.4.
• 同时参见: Part, First, Take.
Further Examples

This returns the last element from the list.

In[1]:=  

Out[1]=



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.