Class matrix_invert_det_cholesky_cuda_base (o2scl_linalg)

O2scl : Class List

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 in A_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 in A_inv, and the determinant in A_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.