C# Class YAMP.Numerics.CGSolver

Basic class for a Conjugant Gradient solver.
Inheritance: IterativeSolver
Afficher le fichier Open project: FlorianRappl/YAMP Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

Solve() public méthode

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.
Résultat MatrixValue