libb.distance_from_line

distance_from_line(m, b, x, y)[source]

Compute the distance from each point to the line defined by m and b.