Method__sub__ Polynomial subtraction >>> p = Polynomial(2, [1, 2, 4]) >>> q = Polynomial(2, [1, 2, 3]) >>> p - q 1x^2
maths/polynomials/single_indeterminate_operations.py:54
Functionapproximately_equal_hsv Utility-function to check that two hsv-colors are approximately equal >>> approximately_equal_hsv([0, 0, 0], [0, 0, 0]) True >>> app
conversions/rgb_hsv_conversion.py:142
Functionarithmetic_mean return the arithmetic mean of series >>> arithmetic_mean([2, 4, 6]) 4.0 >>> arithmetic_mean([3, 6, 9, 12]) 7.5 >>> arithmeti
maths/series/arithmetic.py:42
Functionbfs >>> bfs({1: [2, 3], 2: [4, 5], 3: [6, 7], 4: [], 5: [8], 6: [], 7: [], 8: []}, 1) 1 2 3 4 5 6 7 8
graphs/basic_graphs.py:114
Functionbinary_exp_mod_iterative Computes a^b % c iteratively, where a is the base, b is the exponent, and c is the modulus >>> binary_exp_mod_iterative(3, 4, 5) 1
maths/binary_exponentiation.py:125
Functionbinary_exp_mod_recursive Computes a^b % c recursively, where a is the base, b is the exponent, and c is the modulus >>> binary_exp_mod_recursive(3, 4, 5) 1
maths/binary_exponentiation.py:90