Skip to content

Commit

Permalink
better prob logic fns
Browse files Browse the repository at this point in the history
  • Loading branch information
abrudz committed Dec 13, 2024
1 parent b0d0701 commit fa8bbfe
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions table.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -952,8 +952,8 @@ Is,/∘⍳∘≢Y Moving width-Is window of indices for array Y Tacit Dyadic Fun
∘.≤⍨∘⍳Js Upper triangular matrix with diagonal: Js by Js Tacit Monadic Function Boolean/Logical triangle NE northeast north-east table https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExQedczQe9S55FHvCiDrUe9mBdP//wE
∘.≥⍨∘⍳Js Lower triangular matrix with diagonal: Js by Js Tacit Monadic Function Boolean/Logical triangle SW southwest south-west table https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExQedczQe9S59FHvCiDrUe9mBdP//wE
∘.>⍨∘⍳Js Lower triangular matrix without diagonal: Js by Js Tacit Monadic Function Boolean/Logical triangle SW southwest south-west table remove strict removing erasing erase eliminate eliminating delete deleting https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExQedczQs3vUuwJIP@rdrGD6/z8A
M(⊢×1-⊣)N Probabilistic converse nonimplication Tacit Dyadic Function Mathematical fuzzy probability chance ⇍ Mpq
M(⊣×1-⊢)N Probabilistic nonimplication Tacit Dyadic Function Mathematical fuzzy probability chance abjunction ⇏ not butnot Lpq
M(⊢)N Probabilistic converse nonimplication Tacit Dyadic Function Mathematical fuzzy probability chance ⇍ Mpq
M(⊣)N Probabilistic nonimplication Tacit Dyadic Function Mathematical fuzzy probability chance abjunction ⇏ not butnot Lpq
A(⊢ׯ1*⊣)N Conditional elementwise change of sign Tacit Dyadic Function Mathematical signum conditionalnegation changing converting conversion
M(⊣+¯11○⊢)N Join real part M and imaginary part N to form complex Tacit Dyadic Function Mathematical complexnumber re() im() values combine ⌾ cartesian rectangular ⊕
M(⊣ׯ12○⊢)N Join magnitude M and radians N to form complex Tacit Dyadic Function Data Conversion complexnumber polar angle absolute values combine converting change changing ⊗
Expand Down Expand Up @@ -1038,8 +1038,8 @@ Xv{+/⍵}⌸Nv Sum Nv by buckets Xv (⍴Nv ↔ ⍴Xv) Tacit Dyadic Function Mat
(~∘' ')Dv Remove blanks in string Tacit Monadic Function Text deletespaces spaces drop without removing erasing erase eliminate eliminating delete deleting
Xv{⍉↑⍺⍵}Yv Two-column matrix from two vectors (pad shorter vector) Tacit Monadic Function Structural table lists
Xv∘.{⍺⍵}Yv Catalogue of all pairs from Xv and Yv Tacit Dyadic Function Structural pairings tuples table matrix
M(1-⊢×1-⊣)N Probabilistic converse implication Tacit Dyadic Function Mathematical fuzzy probability chance because ∵ ⇐ if converseconditional Bpq reverseimplying
M(1-⊣×1-⊢)N Probabilistic implication Tacit Dyadic Function Mathematical fuzzy probability chance materialconditional materialconsequence implies implying materialimplication therefore ∴ ⇒ Cpq
M(1+×-⊢)N Probabilistic converse implication Tacit Dyadic Function Mathematical fuzzy probability chance because ∵ ⇐ if converseconditional Bpq reverseimplying
M(1+×-⊣)N Probabilistic implication Tacit Dyadic Function Mathematical fuzzy probability chance materialconditional materialconsequence implies implying materialimplication therefore ∴ ⇒ Cpq
(1≡≡∧⍬≡⍴)Y Is Y an object representation (⎕OR)? Tacit Monadic Function Array Properties System ⎕OR? nounified? package? https://tio.run/##SyzI0U2pTMzJT///3y0//1HbhOpHvbu0H/VureV61DcVyNcwfNS5EIQ6lj/qXQNi9G7RBEr5BakDNagTUOUPUfX/PwA
M(12○⊣+0J1×⊢)N 2-argument arctangent (M:x, N:y) Tacit Dyadic Function Mathematical atan2() arctan2() atn2() arctn2() atng2() arctng2()
Is(⊣↑1⍴⍨⊢)Js Prefix Vector: length Is with Js ones on the left, the rest zeroes Tacit Dyadic Function Boolean/Logical 1s 0s zeros Is⍺Js falses falsehoods trues truths
Expand Down Expand Up @@ -1237,7 +1237,7 @@ Mv(+.×⍨÷1⊥⊣)Nm Weighted average of rows of Nm with weights Mv Tacit Dyad
Iv(,⌿1+⊢⊤¯1+⊣)Jv Indices of Iv'th elements in ravel order of an array of dimensions Jv Tacit Dyadic Function Index Generation ravelorderindex cells items axes
Iv Jv⍕⍨∘(∊,⍤0/)N Formatting N with Jv decimals in fields of width Iv Tacit Dyadic Function Text widths string
(+/2 1∘⊃∘⎕VFI⍤1)Dm Sum of numbers in character matrix Dm Tacit Monadic Function Data Conversion table converting change changing
M(1-×⍥(1∘-))N Probabilistic OR Tacit Dyadic Function Mathematical fuzzy probability chance disjunction vel alternation Apq
M(+-×)N Probabilistic OR Tacit Dyadic Function Mathematical fuzzy probability chance disjunction vel alternation Apq
(⍋(≢,⊂)¨)Yv Ascending shortlex grade Tacit Monadic Function Mathematical radix length-lexicographic lengthlexicographic military genealogical
(⍒(≢,⊂)¨)Yv Descending shortlex grade Tacit Monadic Function Mathematical radix length-lexicographic lengthlexicographic military genealogical ordering sorting
(,[0.5]∘'¯')Dv Underlines a string (1=⎕IO) Tacit Monadic Function Text underscore
Expand Down Expand Up @@ -1418,7 +1418,7 @@ Iv(⊢∘≢≥∘⍋⊢∘⍳∘≢,⊣)Y Expansion vector for Y with zeros aft
(⊃∘.×3∘⊃∘.*⍨1+2∘⊃)N Compound interest for principals N[1] at rates N[2] in times N[3] Tacit Monadic Function Mathematical values table matrix
0.5∘(⊣*⍨+.××.-0,⊢)N Area of triangle with side lengths N Tacit Monadic Function Circular/Trigonometric Heron's formula herons
(0=10|1⊥∘,0 10⊤⊢×∘⌽1 2⍴⍨≢)Jv Valid credit card? Tacit Monadic Function Mathematical testif luhns luhn's formula debitcard? creditcard? checksum valid?
M((1-⊣×1-⊢)×1-⊢×1-⊣)N Probabilistic XNOR Tacit Dyadic Function Mathematical fuzzy probability chance materialbiconditional biimplication eqv nxor bothorneither exclusivenor materialequivalence ⇔ δ ẟ Kroneckerdelta iff logicalequivalence Epq doubleimplying
M((1+×-⊣)×1+×-⊢)N Probabilistic XNOR Tacit Dyadic Function Mathematical fuzzy probability chance materialbiconditional biimplication eqv nxor bothorneither exclusivenor materialequivalence ⇔ δ ẟ Kroneckerdelta iff logicalequivalence Epq doubleimplying
Xs(1↓,⊢⍤/⍨1(⊢∨⌽)0,≠)Yv Remove leading, multiple and trailing Xs's Tacit Dyadic Function Selection trim left right spaces consecutive blanks start beginning ending removing erasing erase eliminate eliminating delete deleting
((1,⍨⍪)⊢⍤/⍥,⍪,~)Bv Expansion vector (left argument for \ or ⍀) to insert a new element after each one in Bv Tacit Monadic Function Structural expand openup major cells rows items lists
Is(⊣,⊣-∘(⍳∘|××)-)Js Consecutive integers from Is to Js (descending if Is>Js) Tacit Dyadic Function Mathematical arithmetic progression sequence inclusiverange seq() sequence … ... values between
Expand All @@ -1428,7 +1428,7 @@ X(⊂⍤⍋⍤∊⍨⍥(⊂⍤¯1)⌷⊢)Y Move items X to end of Y Tacit Dyadic
(-1⊥2(⍟×⊢)⊢∘≢⌸÷≢)Y Shannon entropy of array ⍵ Tacit Monadic Function Mathematical informationtheory text message string
Ms(0j1⊥⊣(⊢×<∘|)11 9∘.○⊢)N Null near-zero (within absolute distance Ms) real and imaginary parts in N Tacit Monadic Function Mathematical zero-out 0-out remove eliminate arithmetic near-zeros near-zeroes near-0s set small tiny fuzz tolerance tolerant ⎕CT almost values complex numbers part near-real near-imaginary
(⌊10⍟⊢÷⍨∘⍎'.'~⍨⍕)Nv Number of decimals of elements of Nv Tacit Monadic Function Mathematical digits cells items
M((1-×)×1-(1-⊣)×1-⊢)N Probabilistic XOR Tacit Dyadic Function Mathematical fuzzy probability chance exclusivedisjunction eor exor ⊕ ⊻ ⇎ Jpq
M((-×)(+-×)(⊢-×))N Probabilistic XOR Tacit Dyadic Function Mathematical fuzzy probability chance exclusivedisjunction eor exor ⊕ ⊻ ⇎ Jpq
Is{(+/∘∪⊢∨⍳)⍣⍺⊢⍵}Js Is'th number in the Aliqout sequence for Js Tacit Dyadic Function Mathematical
(⊢,[0.5]'¯'\⍨≠∘' ')Dv Underlines non-blanks in a string Tacit Monadic Function Text wordunderlinewords wordunderscorewords
M(⊢∘××⊣×∘⌈¯0.5+∘|÷⍨)N Rounding N to nearest M (favouring towards 0) Tacit Dyadic Function Mathematical precision favoring
Expand Down

0 comments on commit fa8bbfe

Please sign in to comment.