Changeset 2283 in Sophya for trunk/SophyaLib/NTools/integ.h
- Timestamp:
- Nov 29, 2002, 3:03:45 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/integ.h
r1371 r2283 10 10 #include "pexceptions.h" 11 11 #include <set> 12 #include "classfunc.h" 12 13 13 14 namespace SOPHYA { … … 17 18 class Integrator { 18 19 public: 19 typedef double(*FUNC)(double); 20 //typedef double(*FUNC)(double); 21 typedef ClassFunc *FUNC; 22 typedef double (*fun)(double); 20 23 21 24 Integrator(); 22 25 Integrator(FUNC, double xmin, double xmax); 23 26 Integrator(FUNC); 27 28 Integrator(fun, double xmin, double xmax); 29 Integrator(fun); 30 24 31 Integrator(GeneralFunction*, double* par, double xmin, double xmax); 25 32 Integrator(GeneralFunction*, double* par); … … 60 67 TrpzInteg(FUNC, double xmin, double xmax); 61 68 TrpzInteg(FUNC); 69 TrpzInteg(fun, double xmin, double xmax); 70 TrpzInteg(fun); 62 71 TrpzInteg(GeneralFunction*, double* par, double xmin, double xmax); 63 72 TrpzInteg(GeneralFunction*, double* par); … … 73 82 GLInteg(FUNC, double xmin, double xmax); 74 83 GLInteg(FUNC); 84 GLInteg(fun, double xmin, double xmax); 85 GLInteg(fun); 75 86 GLInteg(GeneralFunction*, double* par, double xmin, double xmax); 76 87 GLInteg(GeneralFunction*, double* par);
Note:
See TracChangeset
for help on using the changeset viewer.