openalea.phenomenal.calibration.transformations.is_same_transform

openalea.phenomenal.calibration.transformations.is_same_transform(matrix0, matrix1)[source]

Return True if two matrices perform same transformation.

>>> is_same_transform(numpy.identity(4), numpy.identity(4))
True
>>> is_same_transform(numpy.identity(4), random_rotation_matrix())
False