Greater than

From APL Wiki
Jump to navigation Jump to search
Main article: Comparison function
>

Greater than (>) is a comparison function which tests whether the left argument is tolerantly greater than and not equal to the right argument, returning 1 if this is the case and 0 otherwise. It is the negation of Less than or Equal to ().

Boolean function

When the arguments to Greater than are Boolean, it is the material nonimplication Boolean function, also known as the NIMPLY gate:

> 0 1
0 0 0
1 1 0

In the context of logic, it can be read as but not.

External links

Documentation


APL built-ins [edit]
Primitive functions
Scalar
Monadic ConjugateNegateSignumReciprocalMagnitudeExponentialNatural LogarithmFloorCeilingFactorialNotPi TimesRollType
Dyadic AddSubtractTimesDivideResiduePower (function)LogarithmMinimumMaximumBinomialComparison functionsBoolean functions (AndOrNandNor) ∙ GCDLCMCircularComplex
Non-Scalar
Structural ShapeReshapeTallyDepthRavelEnlistTableCatenateReverseRotateTransposeRazeMixSplitEncloseNestCut (K)PairPartitioned EnclosePartition
Selection FirstPickTakeDropUniqueIdentitySelectReplicateExpand ∙ Set functions (IntersectionUnionWithout) ∙ Bracket indexSquad Indexing
Selector Index generatorGradeIndex OfInterval IndexIndicesDeal
Computational MatchNot MatchMembershipFindNub SieveEncodeDecodeMatrix InverseMatrix DivideFormatExecuteMaterialise
Primitive operators Monadic EachCommuteConstantReplicateReduceWindowed ReduceScanOuter ProductKeyI-beamSpawnFunction axis
Dyadic Inner ProductPower (operator)Rank (operator)BindBesideReverse ComposeAtopOverAtVariantStencil
Quad names
Arrays Index originMigration level
Functions
Operators