pub fn make_inverse(vr: &Vector2<f64>, vp: &Vector2<f64>) -> Matrix2<f64>Expand description
The function make_inverse calculates the inverse of a 2x2 matrix.
Arguments:
vr: A vector representing the row of a 2x2 matrix. The components of the vector are vr.x_ and vr.y_.vp: The parametervprepresents a 2D vector with componentsxandy.
Returns:
The function make_inverse returns a Mat2 object.