def determinant(self): """The determinant of the matrix of the transformation. Returns ------- float The determinant of the matrix of this transformation. """ return matrix_determinant(self.matrix)
def test_matrix_determinant(R, T): assert matrix_determinant(R.matrix) == 1 assert matrix_determinant(T.matrix) == 1
def determinant(self): return matrix_determinant(self.matrix)