pymc.math.matrix_inverse#

pymc.math.matrix_inverse = <pytensor.tensor.nlinalg.MatrixInverse object>#

Computes the inverse of a matrix \(A\).

Given a square matrix \(A\), matrix_inverse returns a square matrix \(A_{inv}\) such that the dot product \(A \cdot A_{inv}\) and \(A_{inv} \cdot A\) equals the identity matrix \(I\).

Notes

When possible, the call to this op will be optimized to the call of solve.