pub fn solve_2x2(matrix: Matrix2, rhs: Vector2) -> Result<Vector2, LinearError>Expand description
Solves matrix * x = rhs for x.
ยงErrors
Returns LinearError::SingularMatrix when the determinant is zero.
pub fn solve_2x2(matrix: Matrix2, rhs: Vector2) -> Result<Vector2, LinearError>Solves matrix * x = rhs for x.
Returns LinearError::SingularMatrix when the determinant is zero.