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

A class for solving matrix equations. More...

#include <LinearSolvers.h>

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

Static Public Member Functions

static void CGSolver (const Matrix_ps &AMat, Matrix_ps &XMat, const Matrix_ps &BMat, const SolverParameters &solver_parameters)
 

Additional Inherited Members

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

Detailed Description

A class for solving matrix equations.

Member Function Documentation

◆ CGSolver()

void NTPoly::LinearSolvers::CGSolver ( const Matrix_ps AMat,
Matrix_ps XMat,
const Matrix_ps BMat,
const SolverParameters solver_parameters 
)
static

Solve the matrix equation AX = B using conjugate gradient method.

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: