Not Match: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
(Created page with "{{Built-in|Not Match|≢}} (sometimes '''Natch''') is the negation of Match. Thus, it returns 0 when its arguments match, and 1 when they do not. Like Match...")
 
(→‎Documentation: BQN documentation link)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Built-in|Not Match|≢}} (sometimes '''Natch''') is the [[Negate|negation]] of [[Match]]. Thus, it returns 0 when its [[argument]]s match, and 1 when they do not. Like Match, it is a [[dyadic]] [[primitive function]].
{{Built-in|Not Match|≢}} (sometimes '''Natch''') is the [[Negate|negation]] of [[Match]]. Thus, it returns 0 when its [[argument]]s match, and 1 when they do not. Like Match, it is a [[dyadic]] [[primitive function]].


{{APL built-ins}}
Some rendering engines (like Blink, the rendering engine of Chromium based browsers like Chrome, Edge, and Opera) tend to render <code>≢</code> as <code>≡/</code> if the selected font  does not have the <code>≢</code> character (U+2262), but does have <code>≡</code> (U+2261) and <code> ̸</code> (U+0338). This issue can be avoided by selecting [[fonts|a font which is more appropriate]] for APL.
== External links ==
 
=== Documentation ===
 
* [https://help.dyalog.com/latest/#Language/Primitive%20Functions/Not%20Match.htm Dyalog]
* [http://microapl.com/apl_help/ch_020_020_361.htm APLX]
* [https://mlochbaum.github.io/BQN/doc/match.html BQN]
 
{{APL built-ins}}[[Category:Primitive functions]]

Latest revision as of 03:12, 3 February 2021

Not Match () (sometimes Natch) is the negation of Match. Thus, it returns 0 when its arguments match, and 1 when they do not. Like Match, it is a dyadic primitive function.

Some rendering engines (like Blink, the rendering engine of Chromium based browsers like Chrome, Edge, and Opera) tend to render as ≡/ if the selected font does not have the character (U+2262), but does have (U+2261) and ̸ (U+0338). This issue can be avoided by selecting a font which is more appropriate for APL.

External links

Documentation


APL built-ins [edit]
Primitives (Timeline) Functions
Scalar
Monadic ConjugateNegateSignumReciprocalMagnitudeExponentialNatural LogarithmFloorCeilingFactorialNotPi TimesRollTypeImaginarySquare Root
Dyadic AddSubtractTimesDivideResiduePowerLogarithmMinimumMaximumBinomialComparison functionsBoolean functions (And, Or, Nand, Nor) ∙ GCDLCMCircularComplexRoot
Non-Scalar
Structural ShapeReshapeTallyDepthRavelEnlistTableCatenateReverseRotateTransposeRazeMixSplitEncloseNestCut (K)PairLinkPartitioned EnclosePartition
Selection FirstPickTakeDropUniqueIdentityStopSelectReplicateExpandSet functions (IntersectionUnionWithout) ∙ Bracket indexingIndexCartesian ProductSort
Selector Index generatorGradeIndex OfInterval IndexIndicesDealPrefix and suffix vectors
Computational MatchNot MatchMembershipFindNub SieveEncodeDecodeMatrix InverseMatrix DivideFormatExecuteMaterialiseRange
Operators Monadic EachCommuteConstantReplicateExpandReduceWindowed ReduceScanOuter ProductKeyI-BeamSpawnFunction axis
Dyadic BindCompositions (Compose, Reverse Compose, Beside, Withe, Atop, Over) ∙ Inner ProductDeterminantPowerAtUnderRankDepthVariantStencilCutDirect definition (operator)
Quad names Index originComparison toleranceMigration levelAtomic vector