Mismatch: Difference between revisions

From NARS2000
Jump to navigationJump to search
(add keyboard)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 30: Line 30:
<p>For example, in origin-1</p>
<p>For example, in origin-1</p>


<apll>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;''≢⍬<br />
<apll><pre>
1<br />
      ''≢⍬
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 2 3≢⍳3<br />
1
0</apll>
      1 2 3≢⍳3
0</pre></apll>




{{Article footer}}
{{Article footer|4|M}}
{{Symbol footer|4|M}}
[[Category:Boolean operators]]
[[Category:Boolean Functions]]
[[Category:Dyadic operators]]
[[Category:Dyadic Functions]]

Latest revision as of 19:17, 13 October 2019

≢ — Tally — or Multiset Not Identical — Keystroke ALT+@ or ALT+SHIFT+2 — Character 8802

APLKB-Mismatch.png

Usage

Z←L≢R returns a Boolean scalar identical to ~L≡R.
L and R are both arbitrary arrays.
Z is a Boolean scalar whose value is 1 if the two arguments differ in any respect be it depth, rank, shape or value, and 0 otherwise.

Example

For example, in origin-1

      ''≢⍬
1
      1 2 3≢⍳3
0



See Also
System Commands System Variables and Functions Operators


Keyboard
A+S
Alt ¨ ¯ < > × ÷
Sh ~ ! @ # $ % ^ & * ( ) _ +
Key ` 1 2 3 4 5 6 7 8 9 0 - =
A+S
Alt ? § π
Sh Q W E R T Y U I O P { } |
Key q w e r t y u i o p [ ] \
A+S
Alt
Sh A S D F G H J K L : "
Key a s d f g h j k l ; '
A+S χ
Alt
Sh Z X C V B N M < > ?
Key z x c v b n m , . /
NARS 2000 Lang
Tool
Bar
+ - × ÷ * ! ? |
< = >
~ § π .. ,
/ \ ¨ .
_ ¯
Second Row i j k i j k l g p r v x