Last active
June 15, 2021 12:31
-
-
Save lyxal/4e377ca7f63d350611dbbd16846a1b1b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Matrix multiplication - Ṁ<[any],[any]> | |
- Dot product | |
- Matrix determinant | |
- Inverse - | |
- Cartesian power - p | |
- Cartesian product with self | |
- Transpose matrix - Ṫ<[any]> | |
- n x n grid of spaces | |
- python string methods | |
capitalize | |
casefold | |
center | |
count (also lists) | |
endswith (also list) | |
expandtabs | |
find (also list) | |
format | |
join | |
ljust | |
lower | |
partition | |
removeprefix (also list) | |
removesuffix (also list) | |
replace | |
rjust | |
split (also list) | |
splitlines - S<str> | |
startswith (also list) | |
strip (also list) | |
swapcase | |
title | |
upper | |
zfill | |
- python list methods | |
append | |
extend | |
insert | |
pop | |
remove | |
reverse | |
sort | |
- (n, n, s): a * b grid of c | |
- (n, n, n): a <= c <= b | |
- read from file | |
- write to file | |
- list of length N (all 0s) (all spaces) | |
- (n, n): [a + b, a - b] | |
- (s, s): a surrounded by b | |
- matrix divide (right matrix divide) | |
- row sums | |
- column sums | |
- diagonals | |
- main | |
- all | |
- anti | |
- pad list with items | |
- unpad | |
- group by | |
- equals 1 | |
- not equals 1 | |
- (l, l): are any of b in a? | |
- remove from a stuff in b | |
- remove from a stuff not in b | |
- prefixes - k<!num> | |
- suffixes | |
- gamma function | |
- cycle | |
- rounding | |
- mirror | |
- horizontal | |
- vertical | |
- flipped | |
- non-flipped | |
- euler_totient | |
- a[ - i<num>, i<[num]> | |
- b] | |
- b:] | |
- :b] | |
- b:c] | |
- b:c:d] | |
- a with b filtered to the front | |
- deltas | |
- Grade list | |
- up | |
- down | |
- a[1:-1] | |
- prepend 0 | |
- every nth item | |
- get | |
- map | |
- zip | |
- with function | |
- with map | |
- with other item - z<[any], [any]> | |
- with self | |
- primes | |
- nth | |
- next | |
- prev | |
- all less than | |
- all greater than (generator) | |
- proper divisor count | |
- divisor count | |
- mean | |
- mode | |
- median | |
- "Index of permutation z in a lexicographically sorted list of all permutations of z's items." | |
- pairs | |
- triplets | |
- integer partition | |
- partition | |
- List from −abs(z) to abs(z) inclusive | |
- permutations | |
- combinations | |
- with replacement | |
- withn't that | |
- of length n | |
- of all lengths | |
- powerset | |
- a.replace(b, c) | |
- a.replace_first(b, c) | |
- substrings | |
- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment