↓ 4 callersFunctionon_segmentCheck whether *point*, known to be collinear with the segment, lies on it. >>> on_segment(Point(0, 0), Point(4, 4), Point(2, 2)) True >>>
geometry/segment_intersection.py:51
↓ 4 callersFunctionvector_product Return the 2-d vector product of two vectors. >>> vector_product((1, 2), (-5, 0)) 10 >>> vector_product((3, 1), (6, 10)) 24
project_euler/problem_102/sol1.py:27
↓ 3 callersFunctionbinary_search_insertion >>> binary_search_insertion([1, 2, 7, 9, 10], 4) [1, 2, 4, 7, 9, 10]
sorts/merge_insertion_sort.py:17
↓ 3 callersFunctiondeterminant >>> determinant([[1, 2], [3, 4]]) -2 >>> determinant([[1.5, 2.5], [3, 4]]) -1.5
matrix/matrix_operation.py:125