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