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; }
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; }