X-Git-Url: http://gitweb.michael.orlitzky.com/?p=octave.git;a=blobdiff_plain;f=optimization%2Fconjugate_gradient_method.m;h=0acf5b27998012a85e733a872cb88411913de2af;hp=a6401e5ec21ff963883368576deb59ff0e1b36d0;hb=af1b47d92cb94b9289987babefd34633f3bbe804;hpb=18d145078e12710b195793fffb93afb9efe31a38;ds=sidebyside diff --git a/optimization/conjugate_gradient_method.m b/optimization/conjugate_gradient_method.m index a6401e5..0acf5b2 100644 --- a/optimization/conjugate_gradient_method.m +++ b/optimization/conjugate_gradient_method.m @@ -35,6 +35,9 @@ function [x, k] = conjugate_gradient_method(A, b, x0, tolerance, max_iterations) % % All vectors are assumed to be *column* vectors. % + % The rather verbose name of this function was chosen to avoid + % conflicts with other implementations. + % n = length(x0); M = eye(n);