Creating an Array: Difference between revisions
Content added Content deleted
(→{{header|J}}: typo) |
(→{{header|J}}: word fiddling) |
||
Line 247: | Line 247: | ||
=={{header|J}}== |
=={{header|J}}== |
||
"Creating an array" is topic seldom discussed in J as <i>every</i> verb takes array argument(s) |
"Creating an array" is topic seldom discussed in J as <i>every</i> verb takes array argument(s) |
||
and returns array |
and returns an array result. (That is, <i>everything</i> creates an array.) |
||
a=: 3 4 $ 3 1 4 1 5 9 2 6 5 3 5 8 NB. make a 3-by-4 table |
a=: 3 4 $ 3 1 4 1 5 9 2 6 5 3 5 8 NB. make a 3-by-4 table |