[ Back to Home ]
Embeded boxes sampler
- Open page from J Dictionary:
(>1;2 3;4 5 6); (>'a';'bc';'def'); (<\i.4); (><\i.4)Generic HTML:
1 0 0
2 3 0
4 5 6a
bc
def
0 0 1 0 1 2 0 1 2 3 0 0 0 0
0 1 0 0
0 1 2 0
0 1 2 3With styles for IE5:
1 0 0
2 3 0
4 5 6a
bc
def
0 0 1 0 1 2 0 1 2 3 0 0 0 0
0 1 0 0
0 1 2 0
0 1 2 3
With styles for IE4 & NS6 (NS4 falls short):
1 0 0
2 3 0
4 5 6a
bc
def
0 0 1 0 1 2 0 1 2 3 0 0 0 0
0 1 0 0
0 1 2 0
0 1 2 3
- Transpose page from J Dictionary:
y=: a.{~ (a. i. 'a') + i. 2 3 4 z=: y;(2 1 |: y);((<2 1) |: y);(|: i. 4 5) z ,&< |:&.> z
abcd
efgh
ijkl
mnop
qrst
uvwxaei
bfj
cgk
dhl
mqu
nrv
osw
ptxafk
mrw0 5 10 15
1 6 11 16
2 7 12 17
3 8 13 18
4 9 14 19
am
eq
iu
bn
fr
jv
co
gs
kw
dp
ht
lxam
bn
co
dp
eq
fr
gs
ht
iu
jv
kw
lxam
fr
kw0 1 2 3 4
5 6 7 8 9
10 11 12 13 14
15 16 17 18 19
- Explicit Definition page from J Dictionary:
] a=: (i.2 3);(<<2 3 4) ; 3
0 1 2
3 4 5
2 3 4 3
[ Back to Home ]