コード例 #1
0
 public Integral(double lower, double upper, Function func, double eps, IntgMethod method)
 {
     // SubIntegrals = new List<Integral>();
     F          = func;
     LowerLimit = lower;
     UpperLimit = upper;
     Eps        = eps;
     Method     = method;
     N          = 2;
 }
コード例 #2
0
 public Integral(double lower, double upper, int func, double eps, IntgMethod method)
 {
     // SubIntegrals = new List<Integral>();
     F          = GetFuncDelegate(func);
     LowerLimit = lower;
     UpperLimit = upper;
     Eps        = eps;
     Method     = method;
     N          = 2;
 }