public Point[] Calculate(IEquation e, double start, double end)
        {
            List<Point> results = new List<Point>();
            equation ef = e.f;
            CalculateZeros cs = new CalculateZeros(ef);

            cs.FindZerosInRange(start, end);
            results = cs.Zeros;
            return results.ToArray();
        }
Esempio n. 2
0
        public Point[] Calculate(IEquation e, double start, double end)
        {
            List <Point>   results = new List <Point>();
            equation       ef      = e.f;
            CalculateZeros cs      = new CalculateZeros(ef);

            cs.FindZerosInRange(start, end);
            results = cs.Zeros;
            return(results.ToArray());
        }