Exemple #1
0
    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)
Exemple #2
0
def test_matrix_determinant(R, T):
    assert matrix_determinant(R.matrix) == 1
    assert matrix_determinant(T.matrix) == 1
Exemple #3
0
 def determinant(self):
     return matrix_determinant(self.matrix)