Mathematica 9 is now available

FlattenAt

Usage

FlattenAt[list, n] 压平作为list n 元素出现的子列表。如果n是负数,位置从结尾统计。
FlattenAt[expr,  i, j, ...  ] 在位置  i, j, ...  压平expr的一部分。
FlattenAt[expr,    ,  , ...  ,   ,  , ...  , ...  ] 在几个位置压平expr的几个部分。


Notes

• 例如: FlattenAt[ a,  b, c ,  d, e  , 2]LongRightArrow .
• 参见 Mathematica 全书:1.8.13 节和 2.2.10.
• 同时参见: DeleteCases, Flatten, Sequence, SlotSequence.
Further Examples

This flattens out only the sublist that appears at position 2.

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.