Python/maths
lance-pyles 093a56e3c2
Remove function overhead in area (#2233)
* remove function overhead
add type hints

* remove unused import
2020-07-27 21:29:31 +08:00
..
images Adds Gaussian Function in maths section (#1054) 2019-07-20 14:32:40 +02:00
series Harmonic Geometric and P-Series Added (#1633) 2019-12-14 06:46:02 +01:00
__init__.py pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
3n_plus_1.py isort --profile black . (#2181) 2020-07-06 09:44:19 +02:00
abs_max.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
abs_min.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
abs.py some pytest on math folder (#1405) 2019-10-21 22:36:33 +02:00
add.py Rename math/add.py to maths/add.py (#1857) 2020-04-13 07:50:46 +02:00
aliquot_sum.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
allocation_number.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
area_under_curve.py codespell --quiet-level=2 (#1711) 2020-01-24 00:21:51 +08:00
area.py Remove function overhead in area (#2233) 2020-07-27 21:29:31 +08:00
armstrong_numbers.py Deal with maps (#1945) 2020-05-06 03:32:40 +02:00
average_mean.py some pytest on math folder (#1405) 2019-10-21 22:36:33 +02:00
average_median.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
average_mode.py contribution guidelines checks (#1787) 2020-03-04 13:40:28 +01:00
bailey_borwein_plouffe.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
basic_maths.py contribution guidelines checks (#1787) 2020-03-04 13:40:28 +01:00
binary_exp_mod.py Added binary exponentiaion with respect to modulo (#1428) 2019-12-24 07:23:15 +01:00
binary_exponentiation.py Improved readability (#1615) 2019-12-07 06:39:59 +01:00
binomial_coefficient.py Added binomial coefficient (#1467) 2019-10-26 11:18:28 +02:00
binomial_distribution.py Added a binomial distribution formula calculator algorithm (#2197) 2020-07-13 22:18:37 +02:00
bisection.py Fixes black failures from Previous PR (#1751) 2020-02-13 02:19:41 +05:30
ceil.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
chudnovsky_algorithm.py Add Chudnovskys algorithm for calculating many digits of pi (#1752) 2020-02-12 15:04:59 +01:00
collatz_sequence.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
combinations.py Added to maths and strings (#1642) 2020-01-08 14:18:17 +01:00
entropy.py Blacken our code (#2125) 2020-06-17 06:59:38 +08:00
eulers_totient.py Code for Eulers Totient function (#1229) 2019-12-01 06:58:25 +01:00
explicit_euler.py contribution guidelines checks (#1787) 2020-03-04 13:40:28 +01:00
extended_euclidean_algorithm.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
factorial_iterative.py contribution guidelines checks (#1787) 2020-03-04 13:40:28 +01:00
factorial_python.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
factorial_recursive.py Create factorial_iterative.py (#1693) 2020-01-18 14:06:48 +01:00
factors.py Factors of a number (#1493) 2019-10-29 23:54:30 +01:00
fermat_little_theorem.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
fibonacci_sequence_recursion.py Add Topological Sort (#1302) 2019-10-18 08:13:58 +02:00
fibonacci.py isort --profile black . (#2181) 2020-07-06 09:44:19 +02:00
find_max_recursion.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
find_max.py rename and add doctest (#1501) 2019-10-28 13:50:36 +01:00
find_min_recursion.py Divide and Conquer (#1308) 2019-10-18 06:20:36 +02:00
find_min.py Update find_min.py (#1627) 2019-12-11 07:57:08 +01:00
floor.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
gamma.py isort --profile black . (#2181) 2020-07-06 09:44:19 +02:00
gaussian.py isort --profile black . (#2181) 2020-07-06 09:44:19 +02:00
greatest_common_divisor.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
hardy_ramanujanalgo.py pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
is_square_free.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
jaccard_similarity.py adding jaccard similarity (#1270) 2019-10-04 09:59:45 +02:00
kadanes.py Fix astar (#1966) 2020-05-10 20:49:40 +05:30
karatsuba.py psf/black code formatting (#1421) 2019-10-22 19:13:48 +02:00
kth_lexicographic_permutation.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
largest_of_very_large_numbers.py LargestOfVeryLargeNumbers (#818) 2019-07-30 08:47:54 +02:00
least_common_multiple.py Feature/update least common multiple (#1352) 2019-10-18 07:35:29 +02:00
line_length.py isort --profile black . (#2181) 2020-07-06 09:44:19 +02:00
lucas_lehmer_primality_test.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
lucas_series.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
matrix_exponentiation.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
miller_rabin.py Added binary exponentiaion with respect to modulo (#1428) 2019-12-24 07:23:15 +01:00
mobius_function.py isort --profile black . (#2181) 2020-07-06 09:44:19 +02:00
modular_exponential.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
monte_carlo_dice.py uses: actions/checkout@v2 (#1779) 2020-02-21 15:32:35 +05:30
monte_carlo.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
newton_raphson.py isort --profile black . (#2181) 2020-07-06 09:44:19 +02:00
number_of_digits.py Updated maths/number_of_digits.py (#2221) 2020-07-26 12:42:18 +02:00
numerical_integration.py codespell --quiet-level=2 (#1711) 2020-01-24 00:21:51 +08:00
perfect_cube.py Fix syntax for flake8 passing (#2096) 2020-06-12 06:51:47 +02:00
perfect_square.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
pi_monte_carlo_estimation.py Wrap lines that go beyond GitHub Editor (#1925) 2020-05-01 23:36:35 +02:00
polynomial_evaluation.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
power_using_recursion.py Added Finding Exponent Program (#2238) 2020-07-27 11:33:13 +02:00
prime_check.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
prime_factors.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
prime_numbers.py isort --profile black . (#2181) 2020-07-06 09:44:19 +02:00
prime_sieve_eratosthenes.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
pythagoras.py pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
qr_decomposition.py psf/black code formatting (#1421) 2019-10-22 19:13:48 +02:00
quadratic_equations_complex_numbers.py Update quadratic equations solver (#1764) 2020-02-20 00:15:55 +05:30
radians.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
radix2_fft.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
relu.py isort --profile black . (#2181) 2020-07-06 09:44:19 +02:00
runge_kutta.py psf/black code formatting (#1421) 2019-10-22 19:13:48 +02:00
segmented_sieve.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
sieve_of_eratosthenes.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
simpson_rule.py Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
softmax.py adding softmax function (#1267) 2019-10-03 16:30:36 +02:00
square_root.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
sum_of_arithmetic_series.py Add Topological Sort (#1302) 2019-10-18 08:13:58 +02:00
sum_of_digits.py create sum_of_digits.py (#2065) 2020-06-02 23:38:32 +02:00
sum_of_geometric_progression.py sum_of_geometric_progression (#2168) 2020-07-10 14:56:43 +02:00
test_prime_check.py Add maths/test_prime_check.py (#1125) 2019-08-13 11:50:13 +02:00
trapezoidal_rule.py Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
volume.py isort --profile black . (#2181) 2020-07-06 09:44:19 +02:00
zellers_congruence.py isort --profile black . (#2181) 2020-07-06 09:44:19 +02:00