Learn R Programming

SolveLS (version 1.0)

Iterative Methods for Solving Linear System of Equations

Description

Solving a system of linear equations is one of the most fundamental computational problems for many fields of mathematical studies, such as regression problems from statistics or numerical partial differential equations. We provide basic stationary iterative solvers such as Jacobi, Gauss-Seidel, Successive Over-Relaxation and SSOR methods. Nonstationary, also known as Krylov subspace methods are also provided. Sparse matrix computation is also supported in that solving large and sparse linear systems can be manageable using 'Matrix' package along with 'RcppArmadillo'. For a more detailed description, see a book by Saad (2003) .

Copy Link

Version

Install

install.packages('SolveLS')

Monthly Downloads

2

Version

1.0

License

GPL (>= 3)

Maintainer

Kisung You

Last Published

February 12th, 2018

Functions in SolveLS (1.0)

lsolve.cg

Conjugate Gradient method
SolveLS?

A Collection of Iterative Solvers for (Sparse) Linear System of Equations
lsolve.jacobi

Jacobi method
lsolve.gs

Gauss-Seidel method
aux.fisch

Generate a 2-dimensional discrete Poisson matrix
lsolve.gmres

Generalized Minimal Residual method
lsolve.cheby

Chebyshev Method
lsolve.sor

Successive Over-Relaxation method
lsolve.ssor

Symmetric Successive Over-Relaxation method
lsolve.bicg

Biconjugate Gradient method
lsolve.qmr

Quasi Minimal Residual Method
lsolve.bicgstab

Biconjugate Gradient Stabilized Method
lsolve.cgs

Conjugate Gradient Squared method