ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
gsl::multimin::test Namespace Reference

Functions to test the precision of the current solution. More...

Functions

int gradient (vector const &g, double epsabs)
 C++ version of gsl_multimin_test_gradient(). More...
 
int size (double const size, double epsabs)
 C++ version of gsl_multimin_test_size(). More...
 

Detailed Description

Functions to test the precision of the current solution.

Function Documentation

◆ gradient()

int gsl::multimin::test::gradient ( vector const &  g,
double  epsabs 
)
inline

C++ version of gsl_multimin_test_gradient().

Parameters
gA gradient
epsabsAn absolute tolerance
Returns
GSL_SUCCESS if test condition met; GSL_CONTINUE otherwise

Definition at line 402 of file multimin.hpp.

References gsl::vector::get().

◆ size()

int gsl::multimin::test::size ( double const  size,
double  epsabs 
)
inline

C++ version of gsl_multimin_test_size().

Parameters
sizeA size (if applicable)
epsabsAn absolute tolerance
Returns
GSL_SUCCESS if test condition met; GSL_CONTINUE otherwise

Definition at line 411 of file multimin.hpp.

References size().

Referenced by size().