Simple examples: Difference between revisions

Jump to navigation Jump to search
20 bytes added ,  10:44, 28 January 2020
m
(One intermediate revision by the same user not shown)
Line 122: Line 122:
  0 0 0 0 0 0 0
  0 0 0 0 0 0 0
</source>
</source>
Then it is simply a matter of performing a sum-reduce <source lang=apl inline>+/</source> to calculate the total frequency of each character:<ref name="Marshall LambaConf 2019">Marshall Lochbaum used this example as part of his talk on [[Outer Product]] at LambdaConf 2019.</ref>
Then it is simply a matter of performing a sum-reduce <source lang=apl inline>+/</source> to calculate the total frequency of each character:<ref name="Marshall LambaConf 2019">[[Marshall Lochbaum]] used this example as part of his talk on [[Outer Product]] at LambdaConf 2019.</ref>
<source lang=apl>
<source lang=apl>
       +/ 'abcd' ∘.= 'cabbage'
       +/ 'abcd' ∘.= 'cabbage'
Line 173: Line 173:
ILIKEAPL
ILIKEAPL
</source>
</source>
 
===References===
<references/>
<references/>
{{APL development}}
{{APL development}}

Navigation menu