A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
33
Task/Array-concatenation/J/array-concatenation-2.j
Normal file
33
Task/Array-concatenation/J/array-concatenation-2.j
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
]ab=: 3 3 $ 'aaabbbccc'
|
||||
aaa
|
||||
bbb
|
||||
ccc
|
||||
]wx=: 3 3 $ 'wxyz'
|
||||
wxy
|
||||
zwx
|
||||
yzw
|
||||
ab , wx
|
||||
aaa
|
||||
bbb
|
||||
ccc
|
||||
wxy
|
||||
zwx
|
||||
yzw
|
||||
ab ,. wx
|
||||
aaawxy
|
||||
bbbzwx
|
||||
cccyzw
|
||||
ab ,: wx
|
||||
aaa
|
||||
bbb
|
||||
ccc
|
||||
|
||||
wxy
|
||||
zwx
|
||||
yzw
|
||||
$ ab , wx NB. applies to first (highest) axis
|
||||
6 3
|
||||
$ ab ,. wx NB. applies to last (atomic) axis
|
||||
3 6
|
||||
$ ab ,: wx NB. applies to new (higher) axis
|
||||
2 3 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue