Mercurial > forge
comparison main/optim/inst/test_nelder_mead_min_1.m @ 9930:d30cfca46e8a octave-forge
optim: upgrade license to GPLv3+ and mention on DESCRIPTION the other package licenses
author | carandraug |
---|---|
date | Fri, 30 Mar 2012 15:14:48 +0000 |
parents | 97f77d4bd426 |
children | 28b882879c6e |
comparison
equal
deleted
inserted
replaced
9929:df50d0ae107f | 9930:d30cfca46e8a |
---|---|
1 ## Copyright (C) 2002 Etienne Grossmann <etienne@cs.uky.edu> | |
2 ## | |
3 ## This program is free software; you can redistribute it and/or modify it under | |
4 ## the terms of the GNU General Public License as published by the Free Software | |
5 ## Foundation; either version 3 of the License, or (at your option) any later | |
6 ## version. | |
7 ## | |
8 ## This program is distributed in the hope that it will be useful, but WITHOUT | |
9 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
10 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | |
11 ## details. | |
12 ## | |
13 ## You should have received a copy of the GNU General Public License along with | |
14 ## this program; if not, see <http://www.gnu.org/licenses/>. | |
1 | 15 |
2 ## Copyright (C) 2002 Etienne Grossmann. All rights reserved. | |
3 ## | |
4 ## This program is free software; you can redistribute it and/or modify it | |
5 ## under the terms of the GNU General Public License as published by the | |
6 ## Free Software Foundation; either version 2, or (at your option) any | |
7 ## later version. | |
8 ## | |
9 ## This is distributed in the hope that it will be useful, but WITHOUT | |
10 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 ## for more details. | |
13 | |
14 | |
15 ## | |
16 ## Checks wether the function 'nelder_mead_min' works, by making it minimize a | 16 ## Checks wether the function 'nelder_mead_min' works, by making it minimize a |
17 ## quadratic function. | 17 ## quadratic function. |
18 ## | |
19 | |
20 ## Author: Etienne Grossmann <etienne@cs.uky.edu> | |
21 | 18 |
22 ok = 1; | 19 ok = 1; |
23 cnt = 1; | 20 cnt = 1; |
24 | 21 |
25 if ! exist ("verbose"), verbose = 0; end | 22 if ! exist ("verbose"), verbose = 0; end |