Class linear_solver_LU_cuda_base (o2scl_linalg)¶
-
class linear_solver_LU_cuda_base¶
Use CUDA to invert a symmetric positive definite matrix stored as a
std::vector
on the GPU.Subclassed by o2scl_linalg::linear_solver_LU_cuda
Public Functions
-
int solve_base(int n, const std::vector<double> &A, const std::vector<double> &B, std::vector<double> &x)¶
Solve square linear system \( A x = b \) of size
n
.Note
We name this something other than
solve()
to ensure no confusion because of multiple inheritance.
-
int solve_base(int n, const std::vector<double> &A, const std::vector<double> &B, std::vector<double> &x)¶