Beispiel #1
0
        public static PointPairList GetPointPairsInRange(double FromPoint,double ToPoint,IFunction func,double h=0.001)
        {
            PointPairList PointsList= new PointPairList();

            for (double x = FromPoint; x <= ToPoint; x += h)
            {

                double fx = func.Val(x);

                PointsList.Add(x, fx);

            }
            return PointsList;
        }