Ejemplo n.º 1
0
 public ConvexMonotoneInterpolation(List <double> xBegin, int size, List <double> yBegin, double quadraticity,
                                    double monotonicity, bool forcePositive, bool flatFinalPeriod,
                                    Dictionary <double, ISectionHelper> preExistingHelpers)
 {
     impl_ = new ConvexMonotoneImpl(xBegin, size, yBegin, quadraticity, monotonicity, forcePositive,
                                    flatFinalPeriod, preExistingHelpers);
     impl_.update();
 }
Ejemplo n.º 2
0
        public Dictionary <double, ISectionHelper> getExistingHelpers()
        {
            ConvexMonotoneImpl derived = impl_ as ConvexMonotoneImpl;

            return(derived.getExistingHelpers());
        }