文件名称: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-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
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-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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
secant.m