private static FARMathUtil.IterationTolerances AlphaTolerance()
        {
            var tols = new FARMathUtil.IterationTolerances();

            tols.allowbrent = false;
            return(tols);
        }
        private static FARMathUtil.IterationTolerances PitchTolerance()
        {
            var tols = new FARMathUtil.IterationTolerances();

            tols.leftedge     = -1; tols.rightedge = 1;
            tols.minpart      = 0.25; tols.maxpart = 0.75;
            tols.tol_triangle = 1E-2; tols.tol_linear = 2E-3;
            tols.xstepinitial = 0.15; tols.xstepsize = 0.35;
            tols.allowbrent   = false;
            return(tols);
        }