Module iterative

Module iterative 

Source
Expand description

Iterative solvers for linear systems

This module provides Krylov subspace methods for solving large sparse systems:

  • gmres: GMRES(m) with restart - best for general non-symmetric systems
  • bicgstab: BiCGSTAB - good alternative to GMRES
  • cgs: CGS - faster but less stable than BiCGSTAB
  • cg: Conjugate Gradient - for symmetric positive definite systems

Re-exports§

pub use gmres_pipelined::gmres_pipelined;

Modules§

gmres_pipelined
Pipelined GMRES solver (p-GMRES)

Structs§

BiCgstabConfig
BiCGSTAB solver configuration
BiCgstabSolution
BiCGSTAB solver result
CgConfig
CG solver configuration
CgSolution
CG solver result
CgsConfig
CGS solver configuration
CgsSolution
CGS solver result
GmresConfig
GMRES solver configuration
GmresSolution
GMRES solver result

Functions§

bicgstab
Solve Ax = b using the BiCGSTAB method
cg
Solve Ax = b using the Conjugate Gradient method
cgs
Solve Ax = b using the CGS method
gmres
Solve Ax = b using the restarted GMRES method
gmres_preconditioned
GMRES solver with preconditioner
gmres_preconditioned_with_guess
GMRES solver with preconditioner and initial guess
gmres_with_guess
Solve Ax = b using GMRES with an initial guess