Verb Trains

NextPreviousMain

The following phrases illustrate how trains may be substituted for other constructs, often giving expressions that are more readable, particularly to readers more familiar with expressions from mathematics:

m0=: >: @ +: @ i. First odd integers
m1=: 1: + 2: * i. Same as m0
m2=: +/ @ (1: + 2: * i.) Sum of odd integers
m3=: [: +/ 1: + 2: * i. Same as m2 using cap
v4=: m=: [: Mnemonic for this use of cap (monad)
m5=: m +/ 1: + 2: * i. Same as m3
m6=: m2 -: *: Sum of odds is square (Tautology)
m7=: %:@(+/@(*:@(]-+/%#))) Standard deviation
m8=: m%: m+/ m*: ] - +/ % # Same as m7


NextPreviousMain