HOPL: Difference between revisions

Jump to navigation Jump to search
144 bytes added ,  22:10, 10 September 2022
m
Text replacement - "</source>" to "</syntaxhighlight>"
(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
</source>
</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</source> which computes multiple aspects of electrical circuits:
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>||<source lang=apl inline>+/</source>||<source lang=apl inline>÷</source>||<source lang=apl inline>(E≠0)</source>||<source lang=apl inline>/</source>||<source lang=apl inline>E</source>
|<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>||is a vector of real numeric values
|||||||||||<source lang=apl inline>E</syntaxhighlight>||is a vector of real numeric values
|-
|-
|||||||<source lang=apl inline>(E≠0)</source>||||||produces a Boolean mask indicating which components have a non-zero value
|||||||<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>||<source lang=apl inline>/</source>||<source lang=apl inline>E</source>||uses the mask to filter the components, thus removing the zeros
|||||||<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>||||||||finds the reciprocal of those
|||||<source lang=apl inline>÷</syntaxhighlight>||||||||finds the reciprocal of those
|-
|-
|||<source lang=apl inline>+/</source>|||||||||||sums them up
|||<source lang=apl inline>+/</syntaxhighlight>|||||||||||sums them up
|-
|-
|<source lang=apl inline>÷</source>||||||||||||computes the reciprocal of that
|<source lang=apl inline>÷</syntaxhighlight>||||||||||||computes the reciprocal of that
|}
|}


Navigation menu