pub fn inverse(self) -> Matrix3x3 {
        let inv = m::mat3_inv([
                    [self.a1, self.a2, self.a3],
                    [self.b1, self.b2, self.b3],
                    [self.c1, self.c2, self.c3],
                  ]);
        Matrix3x3 {
            a1:  inv[0][0], a2: inv[0][1], a3: inv[0][2],
            b1:  inv[1][0], b2: inv[1][1], b3: inv[1][2],
            c1:  inv[2][0], c2: inv[2][1], c3: inv[2][2],
        }
    }
/// Compute the inverse of a 3x3 matrix
Compute the inverse of a 3x3 matrix
Compute the inverse of a 3x3 matrix
pub fn inverse(self) -> Matrix3x3 {
        let inv = m::mat3_inv([
                    [self.a1, self.a2, self.a3],
                    [self.b1, self.b2, self.b3],
                    [self.c1, self.c2, self.c3],
                  ]);
        Matrix3x3 {
            a1:  inv[0][0], a2: inv[0][1], a3: inv[0][2],
            b1:  inv[1][0], b2: inv[1][1], b3: inv[1][2],
            c1:  inv[2][0], c2: inv[2][1], c3: inv[2][2],
        }
    }
pub fn inverse ( self ) -> Matrix3x3 { let inv = m :: mat3_inv ( [ [ self . a1 , self . a2 , self . a3 ] , [ self . b1 , self . b2 , self . b3 ] , [ self . c1 , self . c2 , self . c3 ] , ] ) ; Matrix3x3 { a1 : inv [ 0 ] [ 0 ] , a2 : inv [ 0 ] [ 1 ] , a3 : inv [ 0 ] [ 2 ] , b1 : inv [ 1 ] [ 0 ] , b2 : inv [ 1 ] [ 1 ] , b3 : inv [ 1 ] [ 2 ] , c1 : inv [ 2 ] [ 0 ] , c2 : inv [ 2 ] [ 1 ] , c3 : inv [ 2 ] [ 2 ] , } }
Compute the inverse of a 3x3 matrix
Compute the inverse of a 3x3 matrix
self
self