def known_slope
import bend-visgraph@2.0.0.0/visgraph.bend as Visgraphimport Base
109def known_slope(+s: F32, +x1: F32, +x2: F32, +y1: F32, +y2: F32) -> F32:
110 pick(is_nan(s), F32.div(F32.sub(y2, y1), F32.sub(x2, x1)), s)
import bend-visgraph@2.0.0.0/visgraph.bend as Visgraphimport Base
109def known_slope(+s: F32, +x1: F32, +x2: F32, +y1: F32, +y2: F32) -> F32:
110 pick(is_nan(s), F32.div(F32.sub(y2, y1), F32.sub(x2, x1)), s)