C# Class YAMP.Numerics.CGSolver

Basic class for a Conjugant Gradient solver.
Inheritance: IterativeSolver
Datei anzeigen Open project: FlorianRappl/YAMP Class Usage Examples

Public Methods

Method Description
CGSolver ( MatrixValue A ) : System

Creates a new instance.

Solve ( MatrixValue b ) : MatrixValue

Solves a system of linear equation using the given matrix A.

Method Details

CGSolver() public method

Creates a new instance.
public CGSolver ( MatrixValue A ) : System
A MatrixValue The matrix A for which to solve.
return System

Solve() public method

Solves a system of linear equation using the given matrix A.
public Solve ( MatrixValue b ) : MatrixValue
b MatrixValue The source vector b, i.e. A * x = b.
return MatrixValue