Code covered by the BSD License
1.0
by shaoying
11 Mar 2010
To solve Ax=b - input: A, b, x0 (initial guess), ni (number of iteration) - output: x
| Watch this File
Conjugate gradient
No H1 line, no comment, no possibility to adjust convergence criteria, no error checking. Matlab has already stock PCG function. What is the use of such function here?
Contact us at files@mathworks.com