NumericUtils.h (getdp-3.4.0-source.tgz) | : | NumericUtils.h (getdp-3.5.0-source.tgz) | ||
---|---|---|---|---|
// GetDP - Copyright (C) 1997-2021 P. Dular and C. Geuzaine, University of Liege | // GetDP - Copyright (C) 1997-2022 P. Dular and C. Geuzaine, University of Liege | |||
// | // | |||
// See the LICENSE.txt file for license information. Please report all | // See the LICENSE.txt file for license information. Please report all | |||
// issues on https://gitlab.onelab.info/getdp/getdp/issues. | // issues on https://gitlab.onelab.info/getdp/getdp/issues. | |||
#ifndef NUMERIC_UTILS_H | #ifndef NUMERIC_UTILS_H | |||
#define NUMERIC_UTILS_H | #define NUMERIC_UTILS_H | |||
// Numerical routines implemented using either the GSL or Numerical Recipes | // Numerical routines implemented using either the GSL or Numerical Recipes | |||
double brent(double ax, double bx, double cx, | double brent(double ax, double bx, double cx, double (*f)(double), double tol, | |||
double (*f)(double), double tol, double *xmin); | double *xmin); | |||
void mnbrak(double *ax, double *bx, double *cx, double *fa, double *fb, | void mnbrak(double *ax, double *bx, double *cx, double *fa, double *fb, | |||
double *fc, double (*func)(double)); | double *fc, double (*func)(double)); | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added |