Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
8
Task/Cantor-set/J/cantor-set-1.j
Normal file
8
Task/Cantor-set/J/cantor-set-1.j
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
odometer =: [: (4 $. $.) $&1
|
||||
|
||||
cantor_dust =: monad define
|
||||
shape =. ,~ 3 ^ y
|
||||
a =. shape $ ' '
|
||||
i =. odometer shape
|
||||
< (}:"1) 1j1 #"1 '#' (([: <"1 [: ;/"1 (#~ 1 e."1 [: (,/"2) 3 3&#:)) i)}a
|
||||
)
|
||||
6
Task/Cantor-set/J/cantor-set-2.j
Normal file
6
Task/Cantor-set/J/cantor-set-2.j
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
cantor_dust =: 2&$: :(dyad define)
|
||||
shape =. x # 3 ^ y
|
||||
a =. shape $ ' '
|
||||
i =. odometer shape
|
||||
< (}:"1) 1j1 #"1 '#' (([: <"1 [: ;/"1 (#~ 1 e."1 [: (,/"2) 3 3&#:)) i)} a
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue