def known_slope

bend-visgraph@2.0.0.0 · visgraph.bend:109

import bend-visgraph@2.0.0.0/visgraph.bend as Visgraph
import 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)

Uses (5)

Used by (1)