Gromacs  2026.0-dev-20241204-d69d709
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
neldermead.cpp File Reference
#include "gmxpre.h"
#include "gromacs/math/neldermead.h"
#include <cmath>
#include <algorithm>
#include <functional>
#include <iterator>
#include <list>
#include <numeric>
#include <vector>
#include "gromacs/math/utilities.h"
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/real.h"
+ Include dependency graph for neldermead.cpp:

Description

Implements routines in neldermead.h .

Author
Christian Blau blau@.nosp@m.kth..nosp@m.se

Classes

struct  gmx::anonymous_namespace{neldermead.cpp}::NelderMeadParameters
 The parameters for a Nelder-Mead optimisation. More...
 

Functions

std::vector< realgmx::anonymous_namespace{neldermead.cpp}::linearCombination (real alpha, ArrayRef< const real > a, real beta, ArrayRef< const real > b)
 Evaluate the linear combination of two vectors a and b. More...
 

Variables

constexpr NelderMeadParameters gmx::anonymous_namespace{neldermead.cpp}::defaultNelderMeadParameters = { 1, 2, 0.5, 0.5 }