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