Mantid
Loading...
Searching...
No Matches
Framework
CurveFitting
inc
MantidCurveFitting
FuncMinimizers
PRConjugateGradientMinimizer.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2009 ISIS Rutherford Appleton Laboratory UKRI,
4
// NScD Oak Ridge National Laboratory, European Spallation Source,
5
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6
// SPDX - License - Identifier: GPL - 3.0 +
7
#pragma once
8
9
//----------------------------------------------------------------------
10
// Includes
11
//----------------------------------------------------------------------
12
#include "MantidCurveFitting/DllConfig.h"
13
#include "
MantidCurveFitting/FuncMinimizers/DerivMinimizer.h
"
14
15
namespace
Mantid
{
16
namespace
CurveFitting {
17
namespace
FuncMinimisers {
25
class
MANTID_CURVEFITTING_DLL
PRConjugateGradientMinimizer
:
public
DerivMinimizer
{
26
public
:
28
PRConjugateGradientMinimizer
() :
DerivMinimizer
() {}
30
std::string
name
()
const override
{
return
"Conjugate gradient (Polak-Ribiere imp.)"
; }
31
32
protected
:
34
const
gsl_multimin_fdfminimizer_type *getGSLMinimizerType()
override
;
35
};
36
37
}
// namespace FuncMinimisers
38
}
// namespace CurveFitting
39
}
// namespace Mantid
DerivMinimizer.h
Mantid::CurveFitting::FuncMinimisers::DerivMinimizer
A wrapper around the GSL functions implementing a minimizer using derivatives.
Definition:
DerivMinimizer.h:27
Mantid::CurveFitting::FuncMinimisers::PRConjugateGradientMinimizer
Implementing Polak-Ribiere flavour of the conjugate gradient algorithm by wrapping the IFuncMinimizer...
Definition:
PRConjugateGradientMinimizer.h:25
Mantid::CurveFitting::FuncMinimisers::PRConjugateGradientMinimizer::PRConjugateGradientMinimizer
PRConjugateGradientMinimizer()
Constructor.
Definition:
PRConjugateGradientMinimizer.h:28
Mantid::CurveFitting::FuncMinimisers::PRConjugateGradientMinimizer::name
std::string name() const override
Name of the minimizer.
Definition:
PRConjugateGradientMinimizer.h:30
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition:
AbsorptionCorrection.h:18
Generated on Tue Jan 3 2023 11:57:26 for Mantid by
1.9.5