Functiontest_vector >>> g = Graph(8) >>> for u_v_w in ((0, 1, 10), (0, 2, 6), (0, 3, 5), (1, 3, 15), (2, 3, 4), ... (3, 4, 8), (4, 5, 10), (4, 6, 6), (4,
graphs/boruvka.py:141
Functionthrow_dice Return probability list of all possible sums when throwing dice. >>> random.seed(0) >>> throw_dice(10, 1) [10.0, 0.0, 30.0, 50.0, 10
maths/monte_carlo_dice.py:17
Methodtrain(
self, patterns, datas_train, datas_teach, n_repeat, error_accuracy, draw_e=bool
)
neural_network/convolution_neural_network.py:212
Functiontribonacci Given a number, return first n Tribonacci Numbers. >>> tribonacci(5) [0, 0, 1, 1, 2] >>> tribonacci(8) [0, 0, 1, 1, 2, 4, 7, 13]
dynamic_programming/tribonacci.py:4
Functiontriplet_sum1 Returns a triplet in the array with sum equal to target, else (0, 0, 0). >>> triplet_sum1([13, 29, 7, 23, 5], 35) (5, 7, 23) >>>
maths/triplet_sum.py:23
Functiontriplet_sum2 Returns a triplet in the array with sum equal to target, else (0, 0, 0). >>> triplet_sum2([13, 29, 7, 23, 5], 35) (5, 7, 23) >>>
maths/triplet_sum.py:42
Functionvolume_of_gas_system >>> volume_of_gas_system(2, 100, 5) 332.57848 >>> volume_of_gas_system(0.5, 273, 0.004) 283731.01575 >>> volume_of_gas_system(3,
physics/ideal_gas_law.py:40
Functionweight_conversion Conversion of weight unit with the help of KILOGRAM_CHART "kilogram" : 1, "gram" : pow(10, 3), "milligram" : pow(10, 6), "metric
conversions/weight_conversion.py:62