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, me)); } return(roots); }
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, me)); return roots; }