numerics 0.1.0
Loading...
Searching...
No Matches
cg.cpp File Reference
#include "linalg/solvers/cg.hpp"
#include "core/parallel/cuda_ops.hpp"
#include <cmath>
#include <stdexcept>

Go to the source code of this file.

Namespaces

namespace  num
 

Functions

SolverResult num::cg (const Matrix &A, const Vector &b, Vector &x, real tol=1e-10, idx max_iter=1000, Backend backend=default_backend)