yat/utility/SteepestDescent.h

Code
Comments
Other
Rev Date Author Line
4175 01 Jun 22 peter 1 #ifndef theplu_yat_utility_steepest_descent
4175 01 Jun 22 peter 2 #define theplu_yat_utility_steepest_descent
4175 01 Jun 22 peter 3
4175 01 Jun 22 peter 4 // $Id$
4175 01 Jun 22 peter 5
4346 24 Apr 23 peter 6 /*
4346 24 Apr 23 peter 7   Copyright (C) 2022, 2023 Peter Johansson
4346 24 Apr 23 peter 8
4346 24 Apr 23 peter 9   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 11   The yat library is free software; you can redistribute it and/or
4346 24 Apr 23 peter 12   modify it under the terms of the GNU General Public License as
4346 24 Apr 23 peter 13   published by the Free Software Foundation; either version 3 of the
4346 24 Apr 23 peter 14   License, or (at your option) any later version.
4346 24 Apr 23 peter 15
4346 24 Apr 23 peter 16   The yat library is distributed in the hope that it will be useful,
4346 24 Apr 23 peter 17   but WITHOUT ANY WARRANTY; without even the implied warranty of
4346 24 Apr 23 peter 18   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4346 24 Apr 23 peter 19   General Public License for more details.
4346 24 Apr 23 peter 20
4346 24 Apr 23 peter 21   You should have received a copy of the GNU General Public License
4346 24 Apr 23 peter 22   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 32      Wrapper around GSL gsl_multimin_fdfminimizer_steepest_descent
4175 01 Jun 22 peter 33
4175 01 Jun 22 peter 34      \since New in yat 0.20
4175 01 Jun 22 peter 35    */
4175 01 Jun 22 peter 36   class SteepestDescent : 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 40        \param size dimension of space we are minimizing in.
4175 01 Jun 22 peter 41     */
4175 01 Jun 22 peter 42     SteepestDescent(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