Bayeux  3.4.1
Core Foundation library for SuperNEMO
tsimpr.h
Go to the documentation of this file.
1 #ifndef GENBB_DECAY0_TSIMPR_H_
2 #define GENBB_DECAY0_TSIMPR_H_ 1
3 
4 // This project:
6 
7 namespace genbb {
8  namespace decay0 {
9 
10  // Function decay0_tsimpr calculates the value of integral of function f from a to b
11  // with step h using Simpson's formula.
12  // (b-a)/h must be equal 2*m where m is integer.
13  // Function f must be decribed as external in main program.
14  // VIT, DLP KINR, 20.11.1984.
15  double decay0_tsimpr(func_type f, double a, double b, double h,
16  void * params);
17 
18  } // end of namespace decay0
19 } // end of namespace genbb
20 
21 #endif // GENBB_DECAY0_TSIMPR_H_
22 //
23 // Local Variables: --
24 // mode: c++ --
25 // End: --
double(* func_type)(double, void *)
Definition: common.h:11
double decay0_tsimpr(func_type f, double a, double b, double h, void *params)
Top-level namespace of the Bayeux/genbb_help module library.
Definition: alpha_decay.h:51