Class matrix_invert_det_cholesky_cuda_base (o2scl_linalg)¶
-
class matrix_invert_det_cholesky_cuda_base¶
Use CUDA to invert a symmetric positive definite matrix stored as a
std::vector
on the GPU.Subclassed by o2scl_linalg::matrix_invert_det_cholesky_cuda
Public Functions
-
int invert(size_t n, const std::vector<double> &A, std::vector<double> &A_inv)¶
Invert matrix
A
, returning the inverse inA_inv
.
-
int invert_det(size_t n, const std::vector<double> &A, std::vector<double> &A_inv, double &A_det)¶
Invert matrix
A
, returning the inverse inA_inv
, and the determinant inA_det
.
-
double det(size_t n, const std::vector<double> &A)¶
Determine the determinant of the matrix
A
without inverting.
-
int invert_inplace(size_t n, std::vector<double> &A)¶
Invert matrix
A
in place.
-
int invert(size_t n, const std::vector<double> &A, std::vector<double> &A_inv)¶