Skip to main content

solve_symmetric2

Function solve_symmetric2 

Source
pub fn solve_symmetric2(
    (a11, a12, a22): (Scalar, Scalar, Scalar),
    (b1, b2): (Scalar, Scalar),
) -> GeopResult<(Scalar, Scalar)>
Expand description

The solution (x, y) of the symmetric 2x2 system [[a11, a12], [a12, a22]] (x, y) = (b1, b2), by Cramer’s rule: an error where the determinant could be zero.