check_eyeΒΆ
Simple utility to verify matrix inverses
Asserts that
\[\mathbf{T}^{-1}\mathbf{T} = \mathbf{I}\]
- param T
Matrix to test
- type T
np.ndarray
- param Tinv
Supposed matrix inverse
- type Tinv
np.ndarray
- param msg
Output error message if inverse check not satisfied
- type msg
str
- param eps
Error threshold (\(10^\varepsilon\))
- type eps
float
- raises AssertionError
if matrix inverse check is not satisfied