-
Notifications
You must be signed in to change notification settings - Fork 14
List
Sherlock9 edited this page Dec 3, 2017
·
1 revision
This is a list of commands that accept lists as input
in the order that they appear in the code page. This structure is subject to change.
This page is a work in progress.
Symbol | Inputs | Function |
---|---|---|
▲ |
[a] | LCM([a]). |
▼ |
[a] | [x//gcd([a]) for x in [a]]. |
* |
[a],b or a,[b] | Vectorized multiply (multiply every element of [a] by b or vice versa). |
+ |
[a],b or a,[b] | Vectorized add (add b to every element of [a] or vice versa). |
D |
[a] | Standard deviation of a list of numerics. |
M |
[a] | Maximum of a list of numerics. |
g |
[a] | gcd([a]). |
m |
[a] | Minimum of a list of numerics. |
x |
[a] | Vectorized range (range(*a)). |
Ç |
[a] | Push pair of numerics from [a] as complex numbers, appending a 0 if needed. |
î |
[a] | Multiply every numeric element of [a] by i. |
æ |
[a] | Mean of a list of numerics. |
Ü |
[a] | Mode of a list of numerics. |
¥ |
[a],[b] | Pairwise addition of two lists. |
║ |
[a] | The median of a list or string. |
π |
[a] | Product. |
Σ |
[a] | Sum. |
σ |
[a] | Cumulative sums of [a]. |
µ |
[a] | Root-mean-square of [a]. |