Optimization: principles and algorithms, by Michel Bierlaire
chap07
ex0703.m
Go to the documentation of this file.
1
%> \file
2
%> \f$F(x)=x^2-2\f$
3
%> @author <a href=
"http://people.epfl.ch/michel.bierlaire"
>Michel Bierlaire</a>
4
%> @date Wed Mar 18 18:46:41 2015
5
%> @ingroup Examples
6
%> @ingroup chap07
7
8
%> Example 7.3 in \cite Bier15-book
9
function
[f,g] =
ex0703
(x)
10
f = x * x - 2;
11
g = 2 * x ;
12
endfunction
ex0703
function ex0703(in x)
Example 7.3 in .
Copyright 2015-2018
Michel Bierlaire