summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-05-10 21:49:32 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-05-10 21:49:32 -0400
commit7174e7aa81c598ba6601a95ec86faa4cd471500c (patch)
treee5dc971f47cb7bcd77286e8dbe76723b663f9fee
parent8679e6e67dd57a7267b2853c106d9a16c6aee683 (diff)
Updates based on aplcart
-rw-r--r--table.tsv9
1 files changed, 6 insertions, 3 deletions
diff --git a/table.tsv b/table.tsv
index d2e74aa..3e5f9ac 100644
--- a/table.tsv
+++ b/table.tsv
@@ -355,7 +355,6 @@ x≠⊸⥊y Array with shape of x and content of y Tacit Dyadic Function Struct
a¬⊸∨b Probabilistic implication Tacit Dyadic Function Mathematical fuzzy probability chance materialconditional materialconsequence implies implying materialimplication therefore ∴ ⇒ Cpq
m¬⊸∧n Probabilistic converse nonimplication Tacit Dyadic Function Mathematical fuzzy probability chance ⇍ Mpq
a¬⊸⋆n Conditional change of elements of n to one according to a Tacit Dyadic Function Mathematical 1 cells items changing converting conversion
-m×⟜÷n Division, forcing error for division by 0 Tacit Dyadic Function Mathematical
×⟜|n Square without changing sign Tacit Monadic Function Mathematical remove change converting conversion
x«⟜»y Replace last major cell of y with x0 (slow) Tacit Dyadic Function Structural substitute merge amend replace update item element
>⟜«b Boolean last ones in each group of ones Tacit Monadic Function Boolean/Logical endsofruns 1s trues truths binary base-2 base2
@@ -724,6 +723,7 @@ x1(+´¨⊐⊸⊔)n1 Sum n1 by buckets x1 (≢n1 ↔ ≢x1) Tacit Dyadic Functio
(π×4÷3÷⋆⟜3)n Volume of sphere with radius n Tacit Monadic Function Circular/Trigonometric length ball
(∧˝' '⊸=)d Mask for blank columns Tacit Monadic Function Boolean/Logical spaces empty filter indicate masking indicating blanks bitmask bit-mask
i0(×⥊1↑˜-∘⊢)j0 Ending points for i0 fields of width j0 Tacit Dyadic Function Boolean/Logical vector list trailing segments partitions
+m(××⌊∘|)∘÷n Truncated division Tacit Dyadic Function Mathematical integer intdiv() % // divmod() T-division
(3÷˜2⊸⋆-¯1⊸⋆)j0 Jacobsthal number Tacit Monadic Function Mathematical sequence Ernst j(n) A001045() A1045()
m(⊢×⊸×+⟜|)n Increasing absolute value of n by m without change of sign Tacit Dyadic Function Mathematical adjust decrease magnitude preserve signum direction remove changing converting conversion
i0(×⊸×⟜≠↑↓)b1 Shift b1 forward or backward i0 positions Tacit Dyadic Function Boolean/Logical leftshift rightshift bits bytes
@@ -803,6 +803,7 @@ a1(∾·F`¨+`⊸⊔)y Segmented scan: like F` but starting over whenever indica
m1(+˝∘×÷+´∘⊣)n2 Weighted average of each column of n2 with row weights m1 Tacit Dyadic Function Mathematical
↕⊸(+´⊣/˜0=|)j0 Aliquot sum (sum of proper divisors) Tacit Monadic Function Mathematical s(n) divisorsum
x(∧`∘∊˜¬⊸/⊢)y Remove cells that appear in x from beginning of y Tacit Dyadic Function Selection trim leading left cells items list start
+(+⌜´↕¨∘≢)⊸⊔y2 Anti-diagonals of a table, as a list of lists Tacit Monadic Function Structural table SW-NE extract collect select
a1(⊢-˜+`׬)⊸⊔y Split y at 1s in a1, not including cells of y at those locations Tacit Dyadic Function Structural cut separate chop divide chunk dividing strings lists segments partitions
(+´⌾(ט)÷≠)n1 Quadratic mean Tacit Monadic Function Mathematical Root square rms()
(+´÷≠)⌾(√⟜m0)n Generalised mean Tacit Dyadic Function Mathematical x-mean xmean generalized power Hölder holder cubic
@@ -936,6 +937,7 @@ a1(⊢∧∧(⊢∊/)(+`»⊸<)∘⊢)b1 Groups of ones in b1 pointed to by at l
(⋈÷{𝕨(|𝕊⍟(>⟜0)⊣)𝕩})⟜1 n0 Convert fraction to (numerator,denominator) Tacit Monadic Function Mathematical rationalnumber simplefraction commonfraction vulgarfraction Conversion converting change changing
x0((¬-˜⊢×·+`»⊸>)∘≠⊔⊢)y1 Cut y1 at occurrences of x0, removing separators and empty segments Tacit Dyadic Function Structural split separate chop divide chunk dividing partitions strings lists segments delimiters spaces words
a1(≤∧≥{¬»⊸<⌾(𝕨⊸/)¬𝕩}⊢)b Not first zero in each sublist of b indicated by starting mask a1 Tacit Dyadic Function Boolean/Logical segmented partitioned 1st
+((√+´÷≠-1˙)·×˜⊢-+´÷≠)n1 Sample standard deviation Tacit Monadic Function Mathematical stddev σ sigma SD empirical
(=⌜˜∘(↕≠)≡+˝∘×⎉1‿∞⟜⍉)n2 Is square matrix n2 orthogonal? Tacit Monadic Function Mathematical testif Orthogonal?
c1((⊢-˜¬×·+`»⊸<)∘∊˜⊔⊢)d1 Split list d1 at any sequence of characters in c1 Tacit Dyadic Function Text cut chop divide linebreak newline carriagereturn crnl crlf linefeed vec2vtv separate chunk list dividing segments partitions
(⊏∘⊑˘·(⌈´⊸=≠¨)⊸/⊐⊸⊔)y Modes: Most frequent major cells of data Tacit Monadic Function Set average items elements
@@ -956,13 +958,12 @@ m1+´∘×○(÷⟜(√+´∘ט)-⟜(+´÷≠))n1 Sample Pearson correlation c
⊑∘{𝕩𝕊⍟≢𝕩(+´⊸÷⋈×´⊸(√˜))≠𝕩}n1 Arithmetic-geometric mean Tacit Monadic Function Mathematical average AGM() GAM() AG() GA() geometric-arithmetic common
((↕-⌈∘÷⟜2)(⊣⌽˘⌾⍉⌽˘)≍˜⥊⟜↕ט)j0 a magic square, odd side j0 Tacit Monadic Function Mathematical
⊑∘{𝕩𝕊⍟≢𝕩(×´⊸(√˜)⋈+´⌾÷⊸×)≠𝕩}n1 Geometric-harmonic mean Tacit Monadic Function Mathematical average GHM() HGM() GH() HG() harmonic-geometric
-(√((≠×+´∘ט)-·×˜+´)÷·-⟜1⊸×≠)n1 Sample standard deviation Tacit Monadic Function Mathematical stddev σ sigma SD empirical
(((≠×+´∘ט)-·×˜+´)÷·(1⌈-⟜1)⊸×≠)n1 Sample variance Tacit Monadic Function Mathematical σ² s² σ^2 s^2 empirical Var(x) dispersion
ט⊸((2÷√π)×⋆∘-⊸××1(1+×)´÷⟜(1.5+↕99))n0 Error function (normalized integral of Gaussian) Tacit Monadic Function Mathematical statistics erf() normal distribution sigmoid cdf cumulative
((≍↕0){∾˝(0∾˘1+𝕩)⊸⊏˘⍒˘=⌜˜↕𝕨}´-⟜↕)n0 All permutations of ↕n0, as table rows in lexicographical order Tacit Monadic Function Mathematical combinatorics ordered orderings anagrams without replacement list
c1(¯1⊑(1⊸+⥊+)○≠(⌊`⊢⌊⊏⊸»∘⊢-0∾1+⊣)˝=⌜⟜⌽)d1 Levenshtein distance (number of single-character edits) between strings Tacit Dyadic Function Text fuzzy match
m0(∾·(⍉∾˘¨⟜(∾˜`)˝˜≠↑(↓≍↕0)˙)⌾⌽↕⟜↕)n0 All length-m0 subsets (combinations) of ↕n0, as table rows in lexicographical order Tacit Dyadic Function Mathematical combinatorics selections list sublists subsequences choices choose
-i0(⊣|·⊑{𝕨(0⊸<)◶⟨1‿0,(⊢𝕊|˜)(⌽∘⊣-×)0⋈⌊∘÷⟩𝕩}˜)j0 Multiplicative inverse of j0 modulo i0 Tacit Dyadic Function Mathematical extended euclidean algorithm modular modulus modinv() invmod() numbertheory arithmetic
+i0(⊣|·⊑{0=𝕨?1‿0;(⌽-(0⋈𝕩⌊∘÷𝕨)⊸×)𝕨𝕊˜𝕨|𝕩})j0 Multiplicative inverse of n0 modulo m0 Tacit Dyadic Function Mathematical extended euclidean algorithm modular modulus modinv() invmod() numbertheory arithmetic
x⍋⌾⋈y Is x lexically less than or equal to y? Block Function Dyadic Function Comparison testif tao totalarrayordering notafter precedesorequivalentto ≼ ⊁ lexicographically
x⍒⌾⋈y Is x lexically greater than or equal to y? Block Function Dyadic Function Comparison testif tao totalarrayordering notbeforefollowsorequivalentto ≽ ⊀ lexicographically
x(¬⍋⌾⋈)y Is x lexically greater than y? Block Function Dyadic Function Comparison testif tao totalarrayordering after follows ≻ ⋠ ⋩ lexicographically succeeds
@@ -995,6 +996,8 @@ a{𝕩∧𝕨(⊢=⌈`∘×)+`»⊸<𝕩}b Trim groups of ones in b to begin onl
a1{+`(+`»𝕩)»⊸-⊸+⌾(𝕨⊸/)𝕩}n Cumulative sums (+`) over sublists of n indicated by a1 Block Function Dyadic Function Mathematical sub-vectors +\
a1{≠`(≠`»𝕩)»⊸≠⊸≠⌾(𝕨⊸/)𝕩}b Running parity (≠`) over sublists of b indicated by a1 Block Function Dyadic Function Boolean/Logical sub-vectors sublists sub-lists ≠\
{{𝕊⍟(𝕩<○≠⊢)⟜(𝕩∾·/𝕨⊸<)𝕨∨∧´∘⊏⟜𝕨¨p}⟜/0¨p←𝕩}y1 Topological sort if each index i of y1 depends on indices i⊑y1 (partial result if there are circular dependencies) Block Function Monadic Function Index Generation dependency resolution ordering dag scheduling kahn's algorithm
+i0{(𝕨↑·⍋⊏⟜𝕩)⊸⊏/𝕩≤(𝕨-1)⊑∧(⌈∘√𝕨⊸×)⊸•rand.Subset∘≠⊸⊏𝕩}n1 Indices of smallest i0 elements of n1 (fast i0↑⍋n1) Block Function Dyadic Function Comparison least minimum infirmum smallest lowest
+i0{(𝕨↑·⍒⊏⟜𝕩)⊸⊏/𝕩≥(𝕨-1)⊑∨(⌈∘√𝕨⊸×)⊸•rand.Subset∘≠⊸⊏𝕩}n1 Indices of largest i0 elements of n1 (fast i0↑⍒n1) Block Function Dyadic Function Comparison most maximum supremum biggest largest highest
x{𝔽𝔾⊢}y Church Boolean AND Block Modifier Dyadic Function 2-modifier Boolean/Logical ∧ conjunction caret wedge hat circumflex Kpq
x{⊣𝔽𝔾}y Church Boolean OR Block Modifier Dyadic Function 2-modifier Boolean/Logical ∨ disjunction vel alternation Caron hacek invertedcircumflex checkmark hachek Apq
x{𝔽𝔾⊣}y Church Boolean Converse Implication Block Modifier Dyadic Function 2-modifier Boolean/Logical ≥ because ∵ ⇐ if converseconditional Bpq reverseimplying