Packed Array FunctionsA number of functions for working with packed arrays are summarized below. Packed array functions.The function Developer`ToPackedArray can be used to make a packed array. In[1]:=  |
Out[2]=
|
If the elements of the list are not all of the same type the result will not be a packed array. In[3]:=  |
Out[4]=
|
By specifying a type of Real, the integers are coerced to reals and the result is packed. In[5]:=  |
Out[6]=
|
This shows that pack is a packed array of three reals. In[7]:=  |
Out[7]=
|
This does not make a packed array because the argument is not a rectangular tensor. In[8]:=  |
Out[9]=
|
|