COPASI API  4.40.278
FminBrent.cpp File Reference
#include <cmath>
#include <limits>
#include "copasi/copasi.h"
#include "FminBrent.h"

Macros

#define SQRT_EPSILON   sqrt(std::numeric_limits< C_FLOAT64 >::epsilon())
 

Functions

int FminBrent (double a, double b, FDescent *pF, double *min, double *fmin, double tol, int maxiter)
 

Macro Definition Documentation

◆ SQRT_EPSILON

#define SQRT_EPSILON   sqrt(std::numeric_limits< C_FLOAT64 >::epsilon())

Function Documentation

◆ FminBrent()

int FminBrent ( double  a,
double  b,
FDescent pF,
double *  min,
double *  fmin,
double  tol,
int  maxiter 
)

References min, and SQRT_EPSILON.

Referenced by COptMethodSteepestDescent::optimise().