Or: Difference between revisions

Jump to navigation Jump to search
99 bytes added ,  22:09, 10 September 2022
m
Text replacement - "</source>" to "</syntaxhighlight>"
m (Text replacement - "</source>" to "</syntaxhighlight>")
Line 2: Line 2:


{|class=wikitable
{|class=wikitable
!<source lang=apl inline>∨</source>!!<source lang=apl inline>0</source>!!<source lang=apl inline>1</source>
!<source lang=apl inline>∨</syntaxhighlight>!!<source lang=apl inline>0</syntaxhighlight>!!<source lang=apl inline>1</syntaxhighlight>
|-
|-
!<source lang=apl inline>0</source>
!<source lang=apl inline>0</syntaxhighlight>
|<source lang=apl inline>0</source>||<source lang=apl inline>1</source>
|<source lang=apl inline>0</syntaxhighlight>||<source lang=apl inline>1</syntaxhighlight>
|-
|-
!<source lang=apl inline>1</source>
!<source lang=apl inline>1</syntaxhighlight>
|<source lang=apl inline>1</source>||<source lang=apl inline>1</source>
|<source lang=apl inline>1</syntaxhighlight>||<source lang=apl inline>1</syntaxhighlight>
|}
|}


Line 18: Line 18:
       0 0 1 1 ∨ 0 1 0 1
       0 0 1 1 ∨ 0 1 0 1
0 1 1 1
0 1 1 1
</source>
</syntaxhighlight>


When combined with [[Reduce]], Or can be used to test if some value in a Boolean vector is true.
When combined with [[Reduce]], Or can be used to test if some value in a Boolean vector is true.
Line 27: Line 27:
       ∨/ 0 0 0 0 0
       ∨/ 0 0 0 0 0
0
0
</source>
</syntaxhighlight>


== See also ==
== See also ==

Navigation menu