Linear algebraNDArray::invOn this pageNDArray::invpublic static function inv(NDArray|array $a): NDArray;Compute the inverse of a matrix, such that $a * nd::inv($a) = np::identity($a->shape()).NotestipGPU SUPPORTEDThis operation is supported by GPU (VRAM) and contains a custom CUDA kernel.