Function geometric_algebra::polynomial::solve_linear
source · pub fn solve_linear(
coefficients: [f32; 2],
error_margin: f32
) -> (f32, Vec<Root>)
Expand description
Finds the discriminant and root of a degree 1 polynomial.
0 = coefficients[1] * x + coefficients[0]