Canoe
Comprehensive Atmosphere N' Ocean Engine
root.h
Go to the documentation of this file.
1 #ifndef SRC_CLIMATH_ROOT_H_
2 #define SRC_CLIMATH_ROOT_H_
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 typedef double (*RootFunction_t)(double, void *);
9 int root(double x1, double x2, double xacc, double *x_root, RootFunction_t func,
10  void *aux);
11 
12 #ifdef __cplusplus
13 } /* extern "C" */
14 #endif
15 
16 #endif // SRC_CLIMATH_ROOT_H_
int root(double x1, double x2, double xacc, double *x_root, RootFunction_t func, void *aux)
Definition: root.c:10
double(* RootFunction_t)(double, void *)
Definition: root.h:8