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

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

Functions

int delta (vector const &dx, vector const &x, double epsabs, double epsrel)
 C++ version of gsl_multiroot_test_delta(). More...
 
int residual (vector const &f, double epsabs)
 C++ version of gsl_multiroot_test_residual(). More...
 

Detailed Description

Functions to test the precision of the current solution.

Function Documentation

◆ delta()

int gsl::multiroot::test::delta ( vector const &  dx,
vector const &  x,
double  epsabs,
double  epsrel 
)
inline

C++ version of gsl_multiroot_test_delta().

Parameters
dxLast solver step.
xCurrent estimate of root.
epsabsAbsolute error.
epsrelRelative error.
Returns
GSL_SUCCESS if condition met.

Definition at line 819 of file multiroots.hpp.

References gsl::vector::get().

◆ residual()

int gsl::multiroot::test::residual ( vector const &  f,
double  epsabs 
)
inline

C++ version of gsl_multiroot_test_residual().

Parameters
fFunction values at current estimate of root.
epsabsAbsolute error.
Returns
GSL_SUCCESS if condition met.

Definition at line 828 of file multiroots.hpp.

References gsl::vector::get().