C# Class YAMP.Numerics.GMRESkSolver

Basic class for a GMRES(k) (with restarts) solver.
Inheritance: IterativeSolver
显示文件 Open project: FlorianRappl/YAMP Class Usage Examples

Public Methods

Method Description
GMRESkSolver ( MatrixValue A ) : System

Creates the class for a GMRES(k) solver.

GMRESkSolver ( MatrixValue A, bool restart ) : System

Creates the class for a GMRES(k) solver.

Solve ( MatrixValue b ) : MatrixValue

Solves the system of linear equations.

Private Methods

Method Description
Rotate ( int j ) : void

Method Details

GMRESkSolver() public method

Creates the class for a GMRES(k) solver.
public GMRESkSolver ( MatrixValue A ) : System
A MatrixValue The matrix A to solve.
return System

GMRESkSolver() public method

Creates the class for a GMRES(k) solver.
public GMRESkSolver ( MatrixValue A, bool restart ) : System
A MatrixValue The matrix A to consider as system of linear equations.
restart bool Should restarts be executed?
return System

Solve() public method

Solves the system of linear equations.
public Solve ( MatrixValue b ) : MatrixValue
b MatrixValue The vector b in A * x = b.
return MatrixValue