Math

numerical

class lists_and_dicts_and_pandas_etc <<(M,#FF7700)>> {
.. functions ..
+ area_under_curve(x, y, x_start, x_end)
+ xy_with_endpoints(x, y, x_start, x_end)
+ intersection(x1, y1, x2, y2)
- _rect_inter_inner(x1, x2)
- _rectangle_intersection_(x1,y1,x2,y2)
}

streng.common.math.numerical.area_under_curve(x, y, x_start, x_end)[source]
streng.common.math.numerical.distribute_integers(oranges, plates)[source]
streng.common.math.numerical.intersection(x1, y1, x2, y2)[source]

Copied from https://github.com/sukhbinder/intersection

INTERSECTIONS Intersections of curves. Computes the (x,y) locations where two curves intersect. The curves can be broken with NaNs or have vertical segments.

streng.common.math.numerical.xy_with_endpoints(x, y, x_start, x_end)[source]