public IntervalFunctionApproximation(float s, float e, int d, Operation <float, float> o) { segment_start = s; segment_end = e; operation = o; segment = new FunctionTableSegment(segment_start, segment_end, d, operation); }
public PeriodicFunctionApproximation(float p, int d, Operation <float, float> o) { segment = new FunctionTableSegment(0.0f, p, d, o); }