inv#
Matrix inverse#
Perform a matrix inverse on a square matrix using LU decomposition. The inverse API is currently using cuBLAS as a backend and uses getri/getrf functions for LU decomposition.
Note
This function is currently is not supported with host-based executors (CPU)
-
template<typename OpA, MatInverseAlgo_t ALGO = MAT_INVERSE_ALGO_LU>
__MATX_INLINE__ auto matx::inv(const OpA &a)#
Examples#
// Perform an inverse on matrix "A" and store the output in "Ainv"
(Ainv = inv(A)).run(this->exec);