You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In[212]:= Array[a, {2}]
Out[212]= {a[1], a[2]}
In[213]:= ?Array
Array[f, n] generates a list of length n, with elements f[i].
Array[f, n, r] generates a list using the index origin r.
Array[f, n, {a, b}] generates a list using n values from a to b.
Array[f, {n , n , …}] generates an n
1 2 1
×n ×… array of nested lists, with elements f[i , i , …].
2 1 2
Array[f, {n , n , …}, {r , r , …}] generates a list using the index origins r (default 1).
1 2 1 2 i
Array[f, {n , n , …}, {{a , b }, {a , b }, …}]
1 2 1 1 2 2
generates a list using n values from a to b .
i i i
Array[f, dims, origin, h] uses head h, rather than List, for each level of the array.
The text was updated successfully, but these errors were encountered:
Expected:
The text was updated successfully, but these errors were encountered: