pub fn then(&self, rhs: &Matrix) -> Matrix {
        let s = &self.0;
        let t = &rhs.0;
        Matrix([
            s[0] * t[0] + s[3] * t[1],
            s[1] * t[0] + s[4] * t[1],
            s[2] * t[0] + s[5] * t[1] + t[2],
            s[0] * t[3] + s[3] * t[4],
            s[1] * t[3] + s[4] * t[4],
            s[2] * t[3] + s[5] * t[4] + t[5],
        ])
    }
/// Return the multiplication of the two matrices.
Return the multiplication of the two matrices.
Return the multiplication of the two matrices .
pub fn then(&self, rhs: &Matrix) -> Matrix {
        let s = &self.0;
        let t = &rhs.0;
        Matrix([
            s[0] * t[0] + s[3] * t[1],
            s[1] * t[0] + s[4] * t[1],
            s[2] * t[0] + s[5] * t[1] + t[2],
            s[0] * t[3] + s[3] * t[4],
            s[1] * t[3] + s[4] * t[4],
            s[2] * t[3] + s[5] * t[4] + t[5],
        ])
    }
pub fn then ( & self , rhs : & Matrix ) -> Matrix { let s = & self . 0 ; let t = & rhs . 0 ; Matrix ( [ s [ 0 ] * t [ 0 ] + s [ 3 ] * t [ 1 ] , s [ 1 ] * t [ 0 ] + s [ 4 ] * t [ 1 ] , s [ 2 ] * t [ 0 ] + s [ 5 ] * t [ 1 ] + t [ 2 ] , s [ 0 ] * t [ 3 ] + s [ 3 ] * t [ 4 ] , s [ 1 ] * t [ 3 ] + s [ 4 ] * t [ 4 ] , s [ 2 ] * t [ 3 ] + s [ 5 ] * t [ 4 ] + t [ 5 ] , ] ) }
Return the multiplication of the two matrices.
Return the multiplication of the two matrices .
&self
rhs
&Matrix