Lines Matching refs:extrema
499 extrema = array1d(Tuple{BigFloat, BigFloat}, 0)
515 push!(extrema, goldensection(f, xp, xi, xn))
518 push!(extrema, (x, -y))
521 return extrema
544 function winnow_extrema(extrema::Array{Tuple{BigFloat,BigFloat}}, n)
550 for (x,y) = extrema
852 extrema = find_extrema(compute_error, grid)
853 @debug("minimax", "all extrema = ", format_xylist(extrema))
857 extrema = winnow_extrema(extrema, n+d+2)
858 @debug("minimax", "winnowed extrema = ", format_xylist(extrema))
861 min_err = minimum([abs(y) for (x,y) = extrema])
862 max_err = maximum([abs(y) for (x,y) = extrema])
867 return nc, dc, max_err, extrema
872 (nc, dc) = ratfn_equal_deviation(f, map(x->x[1], extrema),
969 extrema = [(x, sin(20*x)*sin(197*x))
971 winnowed = winnow_extrema(extrema, 12)
1260 (nc, dc, e, extrema) = ratfn_minimax(func, (lo, hi), n, d, weight)
1275 println("extrema = ", format_xylist(extrema))