Python/maths
Yurii 1cc817bcc9 update volumes with type hints + some refactoring (#1353)
* update volumes with type hints + some refactoring

* added docstrings

* Use float instead of ints in doctest results

Co-authored-by: Christian Clauss <cclauss@me.com>
2020-01-05 07:19:29 +01: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+1.py pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08: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
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 average_mode.py (#1491) 2019-10-30 00:26:28 +01:00
basic_maths.py Factors of a number (#1493) 2019-10-29 23:54:30 +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
ceil.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
collatz_sequence.py Some grammatical and spelling corrections (#1475) 2019-10-27 18:37:25 +01:00
eulers_totient.py Code for Eulers Totient function (#1229) 2019-12-01 06:58:25 +01:00
explicit_euler.py psf/black code formatting (#1421) 2019-10-22 19:13:48 +02:00
extended_euclidean_algorithm.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
factorial_python.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
factorial_recursive.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
factors.py Factors of a number (#1493) 2019-10-29 23:54:30 +01:00
fermat_little_theorem.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
fibonacci_sequence_recursion.py Add Topological Sort (#1302) 2019-10-18 08:13:58 +02:00
fibonacci.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
find_max_recursion.py Divide and Conquer (#1308) 2019-10-18 06:20:36 +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 GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
gaussian.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
greatest_common_divisor.py Update greatest_common_divisor.py (#1513) 2019-10-29 11:06:37 +01:00
hardy_ramanujanalgo.py pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
is_square_free.py Added Mobius Function (#1058) 2019-07-21 10:35:42 +02:00
jaccard_similarity.py adding jaccard similarity (#1270) 2019-10-04 09:59:45 +02:00
karatsuba.py psf/black code formatting (#1421) 2019-10-22 19:13:48 +02:00
kth_lexicographic_permutation.py Add Kth lexicographic permutation (#1179) 2019-09-13 13:13:55 +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
lucas_lehmer_primality_test.py pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
lucas_series.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
matrix_exponentiation.py pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
miller_rabin.py Added binary exponentiaion with respect to modulo (#1428) 2019-12-24 07:23:15 +01:00
mobius_function.py Added Mobius Function (#1058) 2019-07-21 10:35:42 +02:00
modular_exponential.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
newton_raphson.py pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
perfect_square.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
polynomial_evaluation.py added horner's method (#1360) 2019-10-17 16:50:51 +02:00
prime_check.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
prime_factors.py Adds Gaussian Function in maths section (#1054) 2019-07-20 14:32:40 +02:00
prime_numbers.py improved prime numbers implementation (#1606) 2019-12-07 06:39:08 +01:00
prime_sieve_eratosthenes.py psf/black code formatting (#1421) 2019-10-22 19:13:48 +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 Add test for QuadraticEquation() (#1107) 2019-08-06 21:32:27 +02:00
radix2_fft.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05: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 pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
simpson_rule.py Improved readability (#1615) 2019-12-07 06:39:59 +01:00
softmax.py adding softmax function (#1267) 2019-10-03 16:30:36 +02:00
sum_of_arithmetic_series.py Add Topological Sort (#1302) 2019-10-18 08:13:58 +02:00
test_prime_check.py Add maths/test_prime_check.py (#1125) 2019-08-13 11:50:13 +02:00
trapezoidal_rule.py Improved readability (#1615) 2019-12-07 06:39:59 +01:00
volume.py update volumes with type hints + some refactoring (#1353) 2020-01-05 07:19:29 +01:00
zellers_congruence.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00