4230 |
14 Sep 22 |
peter |
1 |
#ifndef theplu_yat_utility_brent_minimizer_ |
4230 |
14 Sep 22 |
peter |
2 |
#define theplu_yat_utility_brent_minimizer_ |
4222 |
10 Sep 22 |
peter |
3 |
|
4222 |
10 Sep 22 |
peter |
// $Id$ |
4222 |
10 Sep 22 |
peter |
5 |
|
4222 |
10 Sep 22 |
peter |
6 |
/* |
4222 |
10 Sep 22 |
peter |
Copyright (C) 2022 Peter Johansson |
4222 |
10 Sep 22 |
peter |
8 |
|
4222 |
10 Sep 22 |
peter |
This file is part of the yat library, https://dev.thep.lu.se/yat |
4222 |
10 Sep 22 |
peter |
10 |
|
4222 |
10 Sep 22 |
peter |
The yat library is free software; you can redistribute it and/or |
4222 |
10 Sep 22 |
peter |
modify it under the terms of the GNU General Public License as |
4222 |
10 Sep 22 |
peter |
published by the Free Software Foundation; either version 3 of the |
4222 |
10 Sep 22 |
peter |
License, or (at your option) any later version. |
4222 |
10 Sep 22 |
peter |
15 |
|
4222 |
10 Sep 22 |
peter |
The yat library is distributed in the hope that it will be useful, |
4222 |
10 Sep 22 |
peter |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
4222 |
10 Sep 22 |
peter |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
4222 |
10 Sep 22 |
peter |
General Public License for more details. |
4222 |
10 Sep 22 |
peter |
20 |
|
4222 |
10 Sep 22 |
peter |
You should have received a copy of the GNU General Public License |
4222 |
10 Sep 22 |
peter |
along with yat. If not, see <https://www.gnu.org/licenses/>. |
4222 |
10 Sep 22 |
peter |
23 |
*/ |
4222 |
10 Sep 22 |
peter |
24 |
|
4222 |
10 Sep 22 |
peter |
25 |
#include "Minimizer.h" |
4222 |
10 Sep 22 |
peter |
26 |
|
4222 |
10 Sep 22 |
peter |
27 |
namespace theplu { |
4222 |
10 Sep 22 |
peter |
28 |
namespace yat { |
4222 |
10 Sep 22 |
peter |
29 |
namespace utility { |
4222 |
10 Sep 22 |
peter |
30 |
|
4222 |
10 Sep 22 |
peter |
31 |
/** |
4222 |
10 Sep 22 |
peter |
Wrapper around \c gsl_min_fminimizer_brent |
4222 |
10 Sep 22 |
peter |
33 |
|
4231 |
14 Sep 22 |
peter |
\since New in yat 0.20 |
4222 |
10 Sep 22 |
peter |
35 |
*/ |
4230 |
14 Sep 22 |
peter |
36 |
class BrentMinimizer : public Minimizer |
4222 |
10 Sep 22 |
peter |
37 |
{ |
4222 |
10 Sep 22 |
peter |
38 |
public: |
4222 |
10 Sep 22 |
peter |
/// \brief Constructor |
4230 |
14 Sep 22 |
peter |
40 |
BrentMinimizer(void); |
4222 |
10 Sep 22 |
peter |
41 |
}; |
4222 |
10 Sep 22 |
peter |
42 |
|
4222 |
10 Sep 22 |
peter |
43 |
}}} |
4222 |
10 Sep 22 |
peter |
44 |
#endif |