yat/utility/BFGS.cc

Code
Comments
Other
Rev Date Author Line
4175 01 Jun 22 peter 1 // $Id$
4175 01 Jun 22 peter 2
4346 24 Apr 23 peter 3 /*
4346 24 Apr 23 peter 4   Copyright (C) 2022, 2023 Peter Johansson
4346 24 Apr 23 peter 5
4346 24 Apr 23 peter 6   This file is part of the yat library, https://dev.thep.lu.se/yat
4346 24 Apr 23 peter 7
4346 24 Apr 23 peter 8   The yat library is free software; you can redistribute it and/or
4346 24 Apr 23 peter 9   modify it under the terms of the GNU General Public License as
4346 24 Apr 23 peter 10   published by the Free Software Foundation; either version 3 of the
4346 24 Apr 23 peter 11   License, or (at your option) any later version.
4346 24 Apr 23 peter 12
4346 24 Apr 23 peter 13   The yat library is distributed in the hope that it will be useful,
4346 24 Apr 23 peter 14   but WITHOUT ANY WARRANTY; without even the implied warranty of
4346 24 Apr 23 peter 15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4346 24 Apr 23 peter 16   General Public License for more details.
4346 24 Apr 23 peter 17
4346 24 Apr 23 peter 18   You should have received a copy of the GNU General Public License
4346 24 Apr 23 peter 19   along with yat. If not, see <https://www.gnu.org/licenses/>.
4346 24 Apr 23 peter 20 */
4346 24 Apr 23 peter 21
4175 01 Jun 22 peter 22 #include <config.h>
4175 01 Jun 22 peter 23
4175 01 Jun 22 peter 24 #include "BFGS.h"
4175 01 Jun 22 peter 25
4175 01 Jun 22 peter 26 #include <gsl/gsl_multimin.h>
4175 01 Jun 22 peter 27
4175 01 Jun 22 peter 28 namespace theplu {
4175 01 Jun 22 peter 29 namespace yat {
4175 01 Jun 22 peter 30 namespace utility {
4175 01 Jun 22 peter 31
4175 01 Jun 22 peter 32   BFGS::BFGS(size_t size)
4175 01 Jun 22 peter 33     : MultiMinimizerDerivative(gsl_multimin_fdfminimizer_vector_bfgs, size)
4175 01 Jun 22 peter 34   {
4175 01 Jun 22 peter 35   }
4175 01 Jun 22 peter 36
4175 01 Jun 22 peter 37 }}}