4,509
edits
m (Text replacement - "</source>" to "</syntaxhighlight>") |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
Line 4: | Line 4: | ||
Conference years appear to be given by the expression: | Conference years appear to be given by the expression: | ||
< | <syntaxhighlight lang=apl> | ||
1962++\⌽⍳16 | 1962++\⌽⍳16 | ||
1978 1993 2007 2020 2032 2043 2053 2062 2070 2077 2083 2088 2092 2095 2097 2098 | 1978 1993 2007 2020 2032 2043 2053 2062 2070 2077 2083 2088 2092 2095 2097 2098 | ||
Line 12: | Line 12: | ||
=== HOPL IV conference badge === | === HOPL IV conference badge === | ||
One of the conference badges for HOPL IV features an APL expression <math>\div+\!/\div(\mathcal E \ne 0)/\mathcal E</math> or < | One of the conference badges for HOPL IV features an APL expression <math>\div+\!/\div(\mathcal E \ne 0)/\mathcal E</math> or <syntaxhighlight lang=apl inline>÷+/÷(E≠0)/E</syntaxhighlight> which computes multiple aspects of electrical circuits: | ||
{| | {| | ||
|< | |<syntaxhighlight lang=apl inline>÷</syntaxhighlight>||<syntaxhighlight lang=apl inline>+/</syntaxhighlight>||<syntaxhighlight lang=apl inline>÷</syntaxhighlight>||<syntaxhighlight lang=apl inline>(E≠0)</syntaxhighlight>||<syntaxhighlight lang=apl inline>/</syntaxhighlight>||<syntaxhighlight lang=apl inline>E</syntaxhighlight> | ||
|- | |- | ||
| colspan=6|<hr/> | | colspan=6|<hr/> | ||
|- | |- | ||
|||||||||||< | |||||||||||<syntaxhighlight lang=apl inline>E</syntaxhighlight>||is a vector of real numeric values | ||
|- | |- | ||
|||||||< | |||||||<syntaxhighlight lang=apl inline>(E≠0)</syntaxhighlight>||||||produces a Boolean mask indicating which components have a non-zero value | ||
|- | |- | ||
|||||||< | |||||||<syntaxhighlight lang=apl inline>(E≠0)</syntaxhighlight>||<syntaxhighlight lang=apl inline>/</syntaxhighlight>||<syntaxhighlight lang=apl inline>E</syntaxhighlight>||uses the mask to filter the components, thus removing the zeros | ||
|- | |- | ||
|||||< | |||||<syntaxhighlight lang=apl inline>÷</syntaxhighlight>||||||||finds the reciprocal of those | ||
|- | |- | ||
|||< | |||<syntaxhighlight lang=apl inline>+/</syntaxhighlight>|||||||||||sums them up | ||
|- | |- | ||
|< | |<syntaxhighlight lang=apl inline>÷</syntaxhighlight>||||||||||||computes the reciprocal of that | ||
|} | |} | ||