>>
<<
Ndx
Usr
Pri
Phr
Dic
Rel
Voc
!:
wd
Help
Dictionary
|
E. _ _ |
Member of Interval
|
|
|
The ones in x E. y indicate the beginning
points of occurrences of the pattern x in y .
|
For example:
'co' E. 'cocoa'
1 0 1 0 0
s #~ -. '**' E. s=: 'Remove***multiple**stars.'
Remove*multiple*stars.
] x =: 0 1 2 ,: 2 3 4
0 1 2
2 3 4
] y=: 5 | i. 5 7
0 1 2 3 4 0 1
2 3 4 0 1 2 3
4 0 1 2 3 4 0
1 2 3 4 0 1 2
3 4 0 1 2 3 4
x E. y
1 0 0 0 0 0 0
0 0 0 1 0 0 0
0 1 0 0 0 0 0
0 0 0 0 1 0 0
0 0 0 0 0 0 0
($x) x&-: ;. 3 y
1 0 0 0 0 0 0
0 0 0 1 0 0 0
0 1 0 0 0 0 0
0 0 0 0 1 0 0
0 0 0 0 0 0 0
>>
<<
Ndx
Usr
Pri
Phr
Dic
Rel
Voc
!:
wd
Help
Dictionary