C# Класс YAMP.Numerics.GMRESkSolver

Basic class for a GMRES(k) (with restarts) solver.
Наследование: IterativeSolver
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Rotate ( int j ) : void

Описание методов

GMRESkSolver() публичный Метод

Creates the class for a GMRES(k) solver.
public GMRESkSolver ( MatrixValue A ) : System
A MatrixValue The matrix A to solve.
Результат System

GMRESkSolver() публичный Метод

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?
Результат System

Solve() публичный Метод

Solves the system of linear equations.
public Solve ( MatrixValue b ) : MatrixValue
b MatrixValue The vector b in A * x = b.
Результат MatrixValue