Lines Matching refs:dc
739 nc, dc, e1 = try_e(e0)
744 return nc, dc
753 nc, dc, e2 = try_e(e1)
761 nc, dc, enew = try_e(emid)
770 return nc, dc
827 (nc, dc) = ratfn_leastsquares(f, grid, n, d, w)
829 ratfn_to_string(nc, dc))
850 approx_y = ratfn_eval(nc, dc, x)
868 return nc, dc, max_err, extrema
873 (nc, dc) = ratfn_equal_deviation(f, map(x->x[1], extrema),
875 @debug("minimax", "refined approx = ", ratfn_to_string(nc, dc))
954 (nc, dc) = ratfn_leastsquares(x->exp(x), a, 2, 2)
955 println(" ",ratfn_to_string(nc, dc))
957 test(approx_eq(exp(x), ratfn_eval(nc, dc, x), 1e-4))
985 (nc, dc, e, x) = ratfn_minimax(x->exp(x), (BigFloat(0), BigFloat(1)), 4, 0)
987 println(" ",ratfn_to_string(nc, dc))
990 test(abs(ratfn_eval(nc, dc, x) - exp(x)) <= e * 1.0000001)
994 (nc, dc, e, x) = ratfn_minimax(x->exp(x), (BigFloat(0), BigFloat(1)), 2, 2)
996 println(" ",ratfn_to_string(nc, dc))
999 test(abs(ratfn_eval(nc, dc, x) - exp(x)) <= e * 1.0000001)
1003 (nc, dc, e, x) = ratfn_minimax(x->exp(x), (BigFloat(0), BigFloat(1)), 4, 0,
1006 println(" ",ratfn_to_string(nc, dc))
1009 test(abs(ratfn_eval(nc, dc, x) - exp(x))/exp(x) <= e * 1.0000001)
1013 (nc, dc, e, x) = ratfn_minimax(x->exp(x), (BigFloat(0), BigFloat(1)), 2, 2,
1016 println(" ",ratfn_to_string(nc, dc))
1019 test(abs(ratfn_eval(nc, dc, x) - exp(x))/exp(x) <= e * 1.0000001)
1023 (nc, dc, e, x) = ratfn_minimax(x->exp(x), (BigFloat(0), BigFloat(1)), 2, 1,
1026 println(" ",ratfn_to_string(nc, dc))
1029 test(abs(ratfn_eval(nc, dc, x) - exp(x))/exp(x) <= e * 1.0000001)
1261 (nc, dc, e, extrema) = ratfn_minimax(func, (lo, hi), n, d, weight)
1272 functext = ratfn_to_string(nc, dc) * "\n"
1278 if length(dc) > 1
1282 string(wellcond(dc, lo, hi)))