pub fn extrapolate_line<F: FieldOps>(x0: F, x1: F, z: F) -> FExpand description
Extrapolates a line through two points.
Given two points (0, x0) and (1, x1), this function evaluates the line through these points at parameter z using the formula: x0 + (x1 - x0) * z
ยงProperties
- When z = 0, returns x0
- When z = 1, returns x1
- The function is linear in z