Mathematica 9 is now available

First

Usage

First[expr] 给出 expr中的第一个元素。


Notes

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

This gives the first element from the list.

In[1]:=  

Out[1]=

The result may seem strange until you see how the polynomial is stored internally.

In[2]:=  

Out[2]=

In[3]:=  

Out[3]//FullForm=



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.