einsums::compute_graph::invert#
Note
Generated from the C++ headers by apiary --emit-cpp-docs-json.
Defined in header Einsums/ComputeGraph/Operations.hpp.
-
template<MatrixOperand AType>
void invert(AType *A)# In-place matrix inverse:
A := A^-1.Amust be rank 2 and square. Internally callsgetrffollowed bygetri; raisesRankErrorif the input rank is wrong and the LAPACK kernel raises ifAis singular.