Exemplo n.º 1
0
        public List <float> getRoots(SegmentRootMethod method)
        {
            Div();
            List <float> roots = new List <float>();

            for (int i = 0; i < mSegments.Count; i++)
            {
                roots.Add(method.findRoot(mSegments[i], mFunc, mX, me));
            }
            return(roots);
        }
Exemplo n.º 2
0
        public List<float> getRoots(SegmentRootMethod method)
        {
            Div();
            List<float> roots = new List<float>();

            for (int i = 0; i < mSegments.Count; i++)
                roots.Add(method.findRoot(mSegments[i], mFunc, mX, me));
            return roots;
        }