示例#1
0
        private bool IsAnyPointPrettyCloseToRoot(TFunc func, Conditions conditions, IEnumerable <double> actualPoints)
        {
            if (!actualPoints.IsEnoughOfParams(1))
            {
                MethodsHelper.ThrowGreedlyException(actualPoints, 1);
            }

            return(IsPrettyClose(func.Compute(actualPoints.Last()) / MinimumOfOnceDiff, conditions));
        }