HOPL: Difference between revisions
Jump to navigation
Jump to search
(HOPL IV published) |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 7: | Line 7: | ||
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 | ||
</ | </syntaxhighlight> | ||
[[File:BadgeAPL.png|thumb|right|One of HOPL IV's conference badges]] | [[File:BadgeAPL.png|thumb|right|One of HOPL IV's conference badges]] | ||
=== 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 <source lang=apl inline>÷+/÷(E≠0)/E</ | One of the conference badges for HOPL IV features an APL expression <math>\div+\!/\div(\mathcal E \ne 0)/\mathcal E</math> or <source lang=apl inline>÷+/÷(E≠0)/E</syntaxhighlight> which computes multiple aspects of electrical circuits: | ||
{| | {| | ||
|<source lang=apl inline>÷</ | |<source lang=apl inline>÷</syntaxhighlight>||<source lang=apl inline>+/</syntaxhighlight>||<source lang=apl inline>÷</syntaxhighlight>||<source lang=apl inline>(E≠0)</syntaxhighlight>||<source lang=apl inline>/</syntaxhighlight>||<source lang=apl inline>E</syntaxhighlight> | ||
|- | |- | ||
| colspan=6|<hr/> | | colspan=6|<hr/> | ||
|- | |- | ||
|||||||||||<source lang=apl inline>E</ | |||||||||||<source lang=apl inline>E</syntaxhighlight>||is a vector of real numeric values | ||
|- | |- | ||
|||||||<source lang=apl inline>(E≠0)</ | |||||||<source lang=apl inline>(E≠0)</syntaxhighlight>||||||produces a Boolean mask indicating which components have a non-zero value | ||
|- | |- | ||
|||||||<source lang=apl inline>(E≠0)</ | |||||||<source lang=apl inline>(E≠0)</syntaxhighlight>||<source lang=apl inline>/</syntaxhighlight>||<source lang=apl inline>E</syntaxhighlight>||uses the mask to filter the components, thus removing the zeros | ||
|- | |- | ||
|||||<source lang=apl inline>÷</ | |||||<source lang=apl inline>÷</syntaxhighlight>||||||||finds the reciprocal of those | ||
|- | |- | ||
|||<source lang=apl inline>+/</ | |||<source lang=apl inline>+/</syntaxhighlight>|||||||||||sums them up | ||
|- | |- | ||
|<source lang=apl inline>÷</ | |<source lang=apl inline>÷</syntaxhighlight>||||||||||||computes the reciprocal of that | ||
|} | |} | ||