image thumbnail

updated 2 years ago

Conjugate Gradient by Yangpai

function [x,out2] = cgsolver(A, b, x0, nitr) (demo, cg, conjugate gradient)

cgsolver(A, b, x0, nitr)

image thumbnail

updated 2 years ago

Optimization tutorial by Mark Bangert

Set of functions for convex optimization including different optimization and line search algorithms (convex optimization, line search, lbfgs)

mb_backtrackingLineSearch(objFunc,objFuncValue,x,dx,dir)

mb_bfgs

mb_cg

image thumbnail

updated 3 years ago

Efficient Conjugate Gradient Method for Symmetric Banded Matrix by Michael Akinwumi

Given symmetric banded matrix A,this code efficiently uses conjugate gradient method to solve Ax=b. (symmetric banded matr..., conjugate gradient)

[x,Iteration]=symmetricbandedCG(A,x,b,epsilon,MaxIter)

image thumbnail

updated 4 years ago

Conjugate gradient by shaoying

To solve Ax=b - input: A, b, x0 (initial guess), ni (number of iteration) - output: x (conjugate gradient)

conjgrad.m

image thumbnail

updated 6 years ago

conjorth by Joshua Carmichael

Constructs conjugate-orthogonal basis from matrix (linear algebra, conjugate gradient, aconjugate)

[U]=conjorth(W,A)

Contact us