secant
代码说明:
function [x, hist] = secant(x, f, tola, tolr) SECANT This a secant code with no line search. This code terminates on small relative-absolute errors function [X, HIST] = SECANT(X, F, TOLA, TOLR) Inputs: X = initial iterate F = function TOLA = absolute error tolerance TOLR = relative error tolerance Output: X = approximate result
下载说明:请别用迅雷下载,失败请重下,重下不扣分!