NTPoly
Static Public Member Functions | List of all members
NTPoly::LinearSolvers Class Reference

A class for inverting matrices. More...

#include <LinearSolvers.h>

Inheritance diagram for NTPoly::LinearSolvers:
NTPoly::SolverBase

Static Public Member Functions

static void CGSolver (const DistributedSparseMatrix &AMat, DistributedSparseMatrix &XMat, const DistributedSparseMatrix &BMat, const IterativeSolverParameters &solver_parameters)
 

Additional Inherited Members

- Static Protected Member Functions inherited from NTPoly::SolverBase
static const int * GetIH (const DistributedSparseMatrix &dsm)
 
static int * GetIH (DistributedSparseMatrix &dsm)
 
static const int * GetIH (const IterativeSolverParameters &csp)
 
static int * GetIH (IterativeSolverParameters &csp)
 
static const int * GetIH (const FixedSolverParameters &csp)
 
static int * GetIH (FixedSolverParameters &csp)
 

Detailed Description

A class for inverting matrices.

Member Function Documentation

◆ CGSolver()

void NTPoly::LinearSolvers::CGSolver ( const DistributedSparseMatrix AMat,
DistributedSparseMatrix XMat,
const DistributedSparseMatrix BMat,
const IterativeSolverParameters solver_parameters 
)
static

Solve the matrix equation AX = B using conjugate gradient.

Parameters
AMatthe matrix A, must be symmetric, positive definite.
XMatthe solved for matrix X.
BMatthe right hand side.
solver_parametersparameters for the solver

The documentation for this class was generated from the following files: