16 沒有內置的功能,但它很容易與Fold和Partition組合: In[47]:= x1 = RandomReal[{0, 1}, {3, 4, 5}]; In[48]:= dims = Dimensions[x1] Out[48]= {3, 4, 5} In[49]:= x2 = Fold[Partition, Flatten[x1], Most[Reverse[dims]]]; In[50]:= x1 == x2 Out[50]= True 來源 2010-09-27 22:07:34