gauss_seidel_stochastic


gauss_seidel_stochastic, a Python code which uses a stochastic version of the Gauss-Seidel iteration to solve a linear system with a symmetric positive definite (SPD) matrix.

The main interest of this code is that it is an understandable analogue to the stochastic gradient descent method used for optimization in various machine learning applications.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

gauss_seidel_stochastic is available in a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

cg, a Python code which implements a simple version of the conjugate gradient (CG) method for solving a system of linear equations of the form A*x=b, suitable for situations in which the matrix A is symmetric positive definite (SPD).

cg_rc, a Python code which implements the conjugate gradient method for solving a symmetric positive definite (SPD) sparse linear system A*x=b, using reverse communication.

gauss_seidel, a Python code which uses the Gauss-Seidel iteration to solve a linear system with a symmetric positive definite (SPD) matrix.

jacobi, a Python code which implements the Jacobi iteration for linear systems which are symmetric positive definite (SPD).

test_matrix, a Python code which defines test matrices.

Reference:

Source Code:


Last modified on 08 February 2022.