Metropoli BBS
VIEWER: sam072.txt MODE: TEXT (ASCII)
apl>" <------------------------- sam072.txt ---------------------------->


apl>" <--- The Monadic Reverse Function -------------------------------->


apl>`O [1] L # a # 2 3 R I 6

1 2 3
4 5 6

4 5 6
1 2 3

apl>`O [2] a

3 2 1
6 5 4

apl>" <--- The Dyadic Rotate Function ---------------------------------->


apl>0 1 2 3 `O [1] L # m # 3 4 R I 12

1  2  3  4
5  6  7  8
9 10 11 12

1  6 11  4
5 10  3  8
9  2  7 12

apl>1 2 3 `O [2] m

 2 3  4  1
 7 8  5  6
12 9 10 11

apl>)off

[ RETURN TO DIRECTORY ]