Optimization: principles and algorithms, by Michel Bierlaire
Functions
secantNVariables.m File Reference

Algorithm 8.4: Newton's secant method, n variables. More...

Go to the source code of this file.

Functions

function secantNVariables (in obj, in x0, in eps, in maxiter)
 Applies Newton's secant algorithm to solve $F(x)=0$ where $F:\mathbb{R}^n\to\mathbb{R}^n $. More...
 

Detailed Description

Algorithm 8.4: Newton's secant method, n variables.

Implementation of algorithm 8.4 of [Bier17-book]

Author
Michel Bierlaire
Date
Thu Mar 19 18:41:39 2015

Definition in file secantNVariables.m.

Function Documentation

◆ secantNVariables()

function secantNVariables ( in  obj,
in  x0,
in  eps,
in  maxiter 
)

Applies Newton's secant algorithm to solve $F(x)=0$ where $F:\mathbb{R}^n\to\mathbb{R}^n $.

Note
Tested with run0711sec.m
Parameters
objthe name of the Octave function defining F(x) and its Jacobian
x0the starting point
epsalgorithm stops if $\|F(x)\| \leq \varepsilon $.
maxitermaximum number of iterations (Default: 100)
Returns
root of the system
Copyright 2015-2018 Michel Bierlaire