Jump to content

Creating an Array: Difference between revisions

m
(deprecated task)
Line 485:
9 25 64 49</lang>
==[[J]]==
"Creating an array" is topic seldom discussed in J as ''all data in J is an array, and every'' verb takes array argument(s) and returns an array result. (that isFor example, in J, the value ''everything'3''' createsis an array with zero dimensions where the value '''4 5''' is an array with one dimension (this list has 2 elements)., Foras example:is the empty string '''<nowiki>''</nowiki>''' (this list has 0 elements).
 
Here are some additional examples:
 
<lang j> a=: 3 4 $ 3 1 4 1 5 9 2 6 5 3 5 8 NB. make a 3-by-4 table
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.