16 void Inverse(
const Tensor& A, Tensor& output);
23 const Device& device);
25 #ifdef BUILD_CUDA_MODULE
31 const Device& device);
void InverseCPU(void *A_data, void *ipiv_data, void *output_data, int64_t n, Dtype dtype, const Device &device)
Definition: InverseCPU.cpp:15
void Inverse(const Tensor &A, Tensor &output)
Computes A^{-1} with LU factorization, where A is a N x N square matrix.
Definition: Inverse.cpp:18
void InverseCUDA(void *A_data, void *ipiv_data, void *output_data, int64_t n, Dtype dtype, const Device &device)
Definition: InverseCUDA.cpp:16
Definition: PinholeCameraIntrinsic.cpp:16