home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
prgtools
/
langs
/
j_41_st.zoo
/
tutorial.zoo
/
tut
/
tut39.js
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1991-06-06
|
413 b
|
21 lines
SETS: propositions Na
[ a=. 2%~ i. 11
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
(2&<: *. <&5) a
0 0 0 0 1 1 1 1 1 1 0
((2&<: *. <&5) a) # a
2 2.5 3 3.5 4 4.5
((2&<: *. <&5) # ]) a
2 2.5 3 3.5 4 4.5
(] #~ 2&<: *. <&5) a
2 2.5 3 3.5 4 4.5
int=. = <.
int a
1 0 1 0 1 0 1 0 1 0 1
((2&<: *. int) a) # a
2 3 4 5
(] #~ 2&<: *. int) a
2 3 4 5
(#~ 2&<: *. int) a
2 3 4 5