Skip to content

Commit

Permalink
isclose
Browse files Browse the repository at this point in the history
  • Loading branch information
abrudz committed Jan 29, 2025
1 parent 0469ab8 commit 6cbd946
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions table.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -2194,6 +2194,8 @@ rslt←{larg} {''} dfns.lof F lof G lof H … rarg List of functions Dop Dyadic
X f{⍵ ⍵⍵⍨⍺⍺ ⍺}g Y Reverse composition (Q-combinator): g on f X and Y, that is, (f X) g Y Dop Dyadic Function Dyadic Operator Function Application Queer-bird Q-combinator before jotunderbar composewith bind ringunderbar functioncomposition ⍛ reverse-compose fXgY backcompose back-compose reversecompose into reversed
f{2⊥⍺⍺/2⊥⍣¯1⍉⍵}J Bit-wise application of f over positive integers Jv Dop Monadic Function Monadic Operator Boolean/Logical bitwise apply binary
X f{⊃⌽⍸~⍺ ⍺⍺ ⍵}Y Index of last element where not X f Y (f returns Boolean result) Dop Dyadic Function Monadic Operator Index Generation find condition cell item binary base-2 base2
M(Ms{⎕CT←⎕DCT←0 ⋄ ~0∊⍺⍺≥|⍺(-÷⌈⍥|)⍵})N Tolerant comparison: Do M and N match with a relative tolerance of Ms? Dop Dyadic Function Monadic Operator Mathematical within equal smallerthan lessthan to within matches tolerating tolerance fuzz acceptable negligible ignoring difference compare isclose()
M(Ms{⎕CT←⎕DCT←0 ⋄ ~0∊⍺⍺≥|⍺-⍵})N Tolerant comparison: Do M and N match with an absolute tolerance of Ms? Dop Dyadic Function Monadic Operator Mathematical within equal smallerthan lessthan to within matches tolerating tolerance fuzz acceptable negligible ignoring difference compare isclose()
X(As{⊃⍺⍺↓⍺⍵})Y Selection of X or Y depending on condition As Dop Dyadic Function Monadic Operator Selection conditional selector pick choose
f{⍺⍺ ⍵:1 ⋄ ⍵⍵ ⍵}g Y Sequential OR test Dop Dyadic Operator Function Application lazyevaluation sequentialtestif adjacentguard || shortcutting shortcircuiting short-circuiting minimal evaluation McCarthy
f{⍺⍺ ⍵:⍵⍵ ⍵ ⋄ 0}g Y Sequential AND test Dop Dyadic Operator Boolean/Logical lazyevaluation sequentialtestif adjacentguard && shortcutting shortcircuiting short-circuiting minimal evaluation McCarthy
Expand Down

0 comments on commit 6cbd946

Please sign in to comment.