Function icrar::cuda::pseudo_inverse(cusolverDnHandle_t, cublasHandle_t, const device_matrix<double>&, const JobType)
Defined in File matrix_invert.h
Function Documentation
-
device_matrix<double> icrar::cuda::pseudo_inverse(cusolverDnHandle_t cusolverHandle, cublasHandle_t cublasHandle, const device_matrix<double> &matrix, const JobType jobType = JobType::S)
Performs matrix inversion using cusolver and cublas.
- Parameters:
cusolverHandle – cusolver handle
cublasHandle – cublas handle
matrix – device memory matrix to invert
jobType – type of device buffer matrices used by kernel
- Returns:
device_matrix<double>