cg_rc, a Python code which implements the conjugate gradient (CG) method for solving a symmetric positive definite (SPD) sparse linear system A*x=b, using reverse communication (RC).
The computer code and data files described and made available on this web page are distributed under the MIT license.
cg_rc is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.
backtrack_binary_rc, a Python code which carries out a backtrack search for a set of binary decisions, using reverse communication (RC).
bisection_rc, a Python code which seeks a solution to the equation f(x)=0 using bisection within a user-supplied change of sign interval [a,b]. the procedure is written using reverse communication (RC).
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 is symmetric positive definite (SPD).
gauss_seidel, a Python code which uses the Gauss-Seidel iteration to solve a linear system with a symmetric positive definite (SPD) matrix.
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.
jacobi, a python code which implements the Jacobi iteration for solving symmetric positive definite (SPD) systems of linear equations.
local_min_rc, a Python code which finds a local minimum of a scalar function of a scalar variable, without the use of derivative information, using reverse communication (RC), by Richard Brent.
root_rc, a Python code which seeks a solution of a scalar nonlinear equation f(x) = 0, or a system of nonlinear equations, using reverse communication (rc), by Gaston Gonnet.
roots_rc, a Python code which seeks a solution of a system of nonlinear equations f(x) = 0, using reverse communication (RC), by Gaston Gonnet.
sort_rc, a Python code which sorts a list of any kind of objects, using reverse communication (RC).
zero_rc, a Python code which seeks a solution of a scalar nonlinear equation f(x) = 0, using reverse communication (RC), by Richard Brent.