後置項 | m\. u\. _ 0 _ | 挖空項 |
u\.y has #y items resulting from applying u
to suffixes of y ,beginning with one of
length #y (亦即, y itself),與continuing
through a suffix of length 1 . m\.y applies successive 動詞 from 動名詞 m to suffixes of y ,extending m cyclically as required. |
If x>:0 in x u\. y ,n u
應用於outfixes of y obtained by suppressing successive
infixes of length x .If x<0 ,
outfixes result from suppressing non-overlapping infixes,
last of which may be a shard. x m\.y applies successive 動詞 from 動名詞 m to outfixes of y, extending m cyclically as required. |
*/\. y=: 1 2 3 4 5 120 120 60 20 5 <\. y +---------+-------+-----+---+-+ |1 2 3 4 5|2 3 4 5|3 4 5|4 5|5| +---------+-------+-----+---+-+ 3 <\. 'abcdefgh' +-----+-----+-----+-----+-----+-----+ |defgh|aefgh|abfgh|abcgh|abcdh|abcde| +-----+-----+-----+-----+-----+-----+ _3 <\. 'abcdefgh' +-----+-----+------+ |defgh|abcgh|abcdef| +-----+-----+------+ ]m=: i.3 3 0 1 2 3 4 5 6 7 8 <"_2 (子式=: 1&(|:\.)"2^:2) m +---+---+---+ |4 5|3 5|3 4| |7 8|6 8|6 7| +---+---+---+ |1 2|0 2|0 1| |7 8|6 8|6 7| +---+---+---+ |1 2|0 2|0 1| |4 5|3 5|3 4| +---+---+---+