Skip to content

Commit

Permalink
ns and ns vec
Browse files Browse the repository at this point in the history
  • Loading branch information
abrudz committed Aug 18, 2024
1 parent 85c7647 commit ab7b8d4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions table.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,7 @@ Cv(1⍳⍨⍷)Dv First occurrence of string Cv in string Dv Tacit Dyadic Functio
(2|⎕DR⍤1)Y Which rows of Y are all numeric? Tacit Monadic Function Array Properties allnumberrows
(7|1⎕DT⊆)J Day of week (Sunday:0) Tacit Monadic Function Mathematical weekday gregoriancalendar
(∊1⎕NPARTS⊢)Dv Absolute path name Tacit Monadic Function System filesystem folder directory full normalised normalized simplified simplify
(⎕NS¨⍸)Js Create vector of Js new empty namespaces Tacit Monadic Function Data Conversion object make new construct collect )ns reference
(2⎕FIX 62∘⎕ATX)Dv Enable preservation of whitespace for item Dv Tacit Monadic Function System allow keeping text-as-typed keeping save saving remembering white-spaces indents indentation code autoformatting auto-formatting layout custom text-as-is source-as-typed
{≢⍵}⌸Y Frequencies of major cells Tacit Monadic Function Mathematical occurrences statistics items elements
X{⊂⍵}⌸Y Group values Y by keys X Tacit Dyadic Function Structural groups grouping classify bins group-by
Expand Down Expand Up @@ -1502,17 +1503,17 @@ Mv+.×⍥((⊢÷2*∘÷⍨+.×⍨)⊢-+⌿÷≢)Nv Sample Pearson correlation co
{1∊⍵:-⎕TRAP←0 'C' '2 ⎕NQ ⎕SE''KeyPress'' ''TC''' ⋄ shy←0}B Stop on the current line if any condition is met Tacit Monadic Function System ⎕stop halt breakpoint break-point debug here statement stopif haltif
(⊃÷¯2÷2∘⊃-¯1 1×2*∘÷⍨(×⍨2∘⊃)-(×/4@2))Nv Solutions of quadratic equation Nv₁x²+Nv₂x+Nv₃=0 Tacit Monadic Function Mathematical coefficients f(x)=ax²+bx+c=0 f(x)=ax^2+bx+c=0
As{((¯1*⊃)×2⊥⊃≠,)⊖⍣⍺⊢(8÷⍨≢⍵)8⍴⍵}Bv Convert bits Bv representing a signed integer of As-endianess (0:big, 1:little) into a number Tacit Dyadic Function Data Conversion ⎕DR 163 16-bit 323 32-bit 643 64-bit 1283 128-bit 2563 256-bit 5123 512-bit 10243 1024-bit 645 1287 sint big-endian little-endian be le to-float https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExQMFao1NA6tN9R61NWseXi60aOupUDWo84FOpqPuqY96l38qHfXo65FGhaHtz/qXfGoc9Gj3q2aFo96twDpWgUzk0dtEw0VDLmoYlodzLj//wE
'\\(u...)?.'⎕R{0⎕JSON'"',⍵.Match,'"'}Dv Evaluate JSON-style escape sequences (like \n and \u000a) Tacit Monadic Function Text strings escapes characters charvector charvecs backspace bs \b horizontaltab ht \t linefeed lf \n formfeed ff \f carriagereturn cr \r crlf cr+lf \r\n string
('⎕THIS'{'t'⎕NS⍺⊣t←⍵}∘⍎⍨⊢⊣⎕SHADOW⍤{⍵.⎕NL-⍳9})Ys Unpack members of namespace Ys to the current namespace, localising those names in the process Tacit Monadic Function System destructure open import merge into here
'\\(u...)?.'⎕R{0⎕JSON'"',⍵.Match,'"'}Dv Evaluate JSON-style escape sequences (like \n and \u000a) Tacit Monadic Function Text strings escapes characters charvector charvecs backspace bs \b horizontaltab ht \t linefeed lf \n formfeed ff \f carriagereturn cr \r crlf cr+lf \r\n string
((∪∊⊆⍨(2⌷⍉201⌶⍬)['MINI_NAME' 'MINI_QUADVAR'⍳⍨3⌷⍉201⌶⍬]∊⍨∘∊200⌶)⎕NR)Dv Global names used by tradfn/tradop Dv Tacit Monadic Function System globals unlocalised unlocalized un-localised un-localized not list find all identifiers symbols xref cross-reference https://tio.run/##SyzI0U2pTMzJT////1FHu1t@vnVOfnJijvWjvqm@PgpcCkDa0/9R2wQDhUfdLQpgUSDPkEsBrAzIfNQ28VHv5vSc/KTEHC6gEVxANUBhBQ2NRx2rHnV0Pepqe9S7QsPoUc/2R72dRgaGj3q2Pepdoxmt7uvp5xnv5@jrqq4AYQeGOrqEOQapA80DajFG0xELMqx3xaOOGUCGkYEBUFQTaJdfkKaCOtDd6v//AwA
Is({⍵/⍨∧⌿2<⌿⍵}1+{(-⍺)↑⍳⍵}⊤∘⍳!×∘!⊣)Js Numeric matrix of all unordered combinations of Is out of Js without replacement Tacit Dyadic Function Mathematical combinatorics selections list vector table remove removing erasing erase eliminate eliminating delete deleting
(,⊢⍤/⍨(⊢=⍴⍴⌈⌿)<\⍤,⍤∧⊢=∘⍉⌽∘⍴⍴⌊/)Nm Value of saddle point Tacit Monadic Function Mathematical
(⍉∘↑{(+/∨\' '≠⌽⍵)↑¨↓⍵}¨@(2=≢∘⍴¨))Yv Convert inverted table to table (character data as matrices; remove trailing spaces) Tacit Monadic Function Structural matrix tables transforming transformation change changing into un-inverting un-inversion un-vertion unverting unversion unvertion removing erasing erase eliminate eliminating delete deleting https://tio.run/##SyzI0U2pTMzJT/@vnpJZXJCTWKn@qG@qc6R6Slpesfp/IPtR2wQFqJSCxqPezkcdMx61TazW0NZ/1LEiRl1B/VHngkc9ex/1btUEih9a8ahtMpBde2iFg4aR7aPORSD1vVsOrdDUVNAwUjABstUdkxQUnFNS09SBQoYKRkDSXMFY8/9/AA
Is(⊣|∘⊃{0=⍵:1 0 ⋄ (⍵∇⍵|⍺)+.×0 1,⍪1,-⌊⍺÷⍵}⍨)Js Multiplicative inverse of Js modulo Is (fast) Tacit Dyadic Function Mathematical extended euclidean algorithm modular modulus modinv() invmod() numbertheory arithmetic
(1⌽'$^','\*' '\?' '\W'⎕R'.*' '.' '\\&')Dv Convert globbing pattern to regex Tacit Monadic Function Text patterns wildcards characters filenames shell matching string regular expression regexp https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExQ0DB/17FVXiVPXUY/RUldQj7EHEeHqQOkgdT2QiB5IIEZNXVNBPTEp2d7evqKySi9FS/3/fwA
'&[^;]+;'⎕R{3⊃,⎕XML⍠'Whitespace' 'Preserve'⊢'<_>',⍵.Match,'</_>'}Dv Evaluate XML-style escape sequences (like &#10; and &#x0a;) Tacit Monadic Function Text strings escapes characters charvector charvecs quote &quot; apostrophe &apos; less-than lessthan &lt; greater-than greaterthan &gt; ampersand &amp; string
'\\(u...|x..)?.'⎕R{0 ⎕JSON⍠'Dialect' 'JSON5'⊢'"',⍵.Match,'"'}Dv Evaluate JS-style escape sequences (like \v and \x0a but not octal) Tacit Monadic Function Text javascript ecmascript es5 strings escapes characters charvector charvecs backspace bs \b horizontaltab ht \t linefeed lf \n formfeed ff \f carriagereturn cr \r crlf cr+lf \r\n string nullbyte zero \0 \x verticaltab
('(?!\d)[\wÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]+'⎕S'&')Dv Find all APL identifiers in Dv Tacit Monadic Function Text symbols names dyalog search for locate identify extract isolate valid legal allowed variable function operator label https://help.dyalog.com/latest/#Language/Introduction/Variables/Names.htm
'\\(u...|x..)?.'⎕R{0 ⎕JSON⍠'Dialect' 'JSON5'⊢'"',⍵.Match,'"'}Dv Evaluate JS-style escape sequences (like \v and \x0a but not octal) Tacit Monadic Function Text javascript ecmascript es5 strings escapes characters charvector charvecs backspace bs \b horizontaltab ht \t linefeed lf \n formfeed ff \f carriagereturn cr \r crlf cr+lf \r\n string nullbyte zero \0 \x verticaltab
(⊃∘⊃({-⍺+.×⍨(+\-+/)@(∘.=⍨⍳∘≢)⍵×∘.≤⍨⍳≢⍵}/≢⍴⊂))Nm Determinant of any square matrix Tacit Function Mathematical Bird'sMethod Bird'sAlgortihm det() |A| det(A) det(Nm) |Nm|
dfns.esh digits Shell for Eide-number sums Dfn Function Mathematical Eidenumbers rationalnumber balancedternary hexadecimal REPL https://dfns.dyalog.com/n_esh.htm
TimeStamp←TieNo dfns.compidn CompNo Component timestamp in IDN format Dfn Function System https://dfns.dyalog.com/n_compidn.htm
Expand Down Expand Up @@ -2063,6 +2064,7 @@ Iv{1++\1+((⍳+/⍺)∊+\1,⍺)\⍵-¯1↓1,⍺+⍵}Jv Vector (Jv[1]+⍳Iv[1]),(
Is{r←+\⍵=d←⊃⍵ ⋄ 0<⍺:⍵/⍨r>⍺ ⋄ ⍵/⍨r≤⍺+⊃⌽r}Dv Drop first Is (if negative: last |Is) segments from delimited string Dv where the first character is the delimiter Dfn Dyadic Function Text SSTAKE delimited segmented initial leading final trailing head tail ↓ dropping
{¯1↓∊({(+/∨\' '≠⌽⍵)↑¨↓⍵}⎕FMT⍵),¨⎕UCS 10}Y Turn Y into a character vector that looks visually like ⎕FMT Y Dfn Monadic Function Text string newlines print flattening flattened Data Conversion convert https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExSKUotLc0oUQMzqQ@sNH7VNftTRpVGtoa3/qGNFjLqC@qPOBY969j7q3ar5qG3ioRUgBb1ba4G63XxDQKI6QLG@qaHOwQqGBrUKGqYKpo96twBFHDUVNMwUzEGc3s0mRppcUAsfdS4CikGs/f8fAA
Cv{⍺←⊢ ⋄ {⍵⊣⍵⍎(⊃⍺),'←⊃⌽⍺'}/⍵,⍺⎕NS⍬}Yv Create (optionally named Cv) namespace with name-value pairs Yv Dfn Ambivalent Monadic Function, Dyadic Function Data Conversion object new namevalue dictionary array converting change changing
Cv{⍺←⊢ ⋄ {⍵⊣⍵⍎(⊃⍺),'←⊃⌽⍺'}/⍵,⍺⎕NS⍬}Yv Create (optionally named Cv) namespace with name-value pairs Yv Dfn Ambivalent Monadic Function, Dyadic Function Data Conversion object new namevalue dictionary array converting change changing
Cv{('\P{',⍺,'}')'.'⎕S 3⍠'Mode' 'D'⍠'DotAll'1⊢⍵}Dv Do characters in Dv have Unicode property Cv? Dfn Dyadic Function Text Other? Cc? Control? Cf? Format? Cn? Unassigned? Co? Private? use? Cs? Surrogate? Letter? Ll? Lower? case? letter? Lm? Modifier? Lo? Lt? Title? Lu? Upper? M? Mark? Mc? Spacing? mark? Me? Enclosing? Mn? Non-spacing? N? Number? Nd? Decimal? number? Nl? No? P? Punctuation? Pc? Connector? punctuation? Pd? Dash? Pe? Close? Pf? Final? Pi? Initial? Po? Ps? Open? S? Symbol? Sc? Currency? symbol? Sk? Sm? Mathematical? So? Z? Separator? Zl? Line? separator? Zp? Paragraph? Zs? Space? string https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExTUfdQVqjXUYwKq1XUe9e7SUa9V11TXUwfKBisYP@pdoO6bn5KqrqDuog7iuOSXOObkqBs@6lr0qHdrrYK6R2pOTr6OQnh@UU6Kovr//wA
Cv{((⎕DL⌈2E¯6×≢⍺)⊢⎕NEW'HTMLRenderer'(('HTML'⍺)('Visible'0))).PrintToPDF⍵}Dv Create PDF file named Dv with HTML/SVG content Cv Dfn Dyadic Function Text HyperText Markup Language XHTML Scalable Vector Graphics rendering printing portable document format printout hardcopy hard-copy create graphical
{0=⍵:1 0⍴0 ⋄ ,[⍳2](⍒⍤1∘.=⍨⍳⍵)[;1,1+∇ ⍵-1]}Js Numeric matrix of all permutations of length Js in lexicographical order Dfn Monadic Function Mathematical combinatorics sorted ordered without replacement list vector table pmat https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExSqDWwf9W61MlQweNS7xUDhUXeLgk70o97NRrEaj3onPepdYvioY4YeUM0KoCBQpWa0taGOofajjnYFIE/XMLZWwfj/fwA
Expand Down Expand Up @@ -2356,6 +2358,7 @@ ns.name Namespace Member Syntax Expression namespaceseparator dotinto point pe
8659⌶⍬ List shared code files I-beam Constant Monadic Operator System report workspace ibeam Ibeam https://docs.dyalog.com/latest/Shared%20Code%20Files%20User%20Guide.pdf
900⌶Y Called Monadically? (tradfns/tradops only, Y can be any array) I-beam Monadic Function Monadic Operator Function Application arity ambivalent ambivalence variadic leftargument ⎕nc 40⎕ATX ibeam monadic? applied https://help.dyalog.com/latest/#Language/I%20Beam%20Functions/Called%20Monadically.htm
950⌶⍬ Loaded Libraries I-beam Constant Monadic Operator System ⎕na .dll .so .dylib .a c++ dynamiclinkedlibrary sharedlibrary dynamiclibrary ibeam https://help.dyalog.com/latest/#Language/I%20Beam%20Functions/Loaded%20Libraries.htm
⎕NS⍬ Create new empty namespace Expression Data Conversion object make new construct collect )ns reference
⎕UCS 0 Null character (NUL) Constant Expression Text \0 ^@ U+00 0x00h \u00 %00 string https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExQMFYAMr2B/PxAd6hysYPD/PwA https://help.dyalog.com/latest/#Language/System%20Functions/ucs.htm
⎕UCS 10 Line Feed (LF) Constant Expression Text \n ^J U+0D 0x0Ah \u0A %0A newline linefeed string https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExQMFYAMr2B/PxAd6hysYGjw/z8A https://help.dyalog.com/latest/#Language/System%20Functions/ucs.htm
⎕UCS 11 Vertical Tab character (VT) Constant Expression Text \v ^K U+00 0x00h \u00 %00 tabulation string https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExQMFYAMr2B/PxAd6hysYGj4/z8A https://help.dyalog.com/latest/#Language/System%20Functions/ucs.htm
Expand Down

0 comments on commit ab7b8d4

Please sign in to comment.