powered by
Computes the minimum of a polynomial in the interval \([lower, upper]\). The values and the interval borders of the polynomial p are evaluated and the minimum value is returned.
p
pminimum( p, interval, lower = min(interval), upper = max(interval), tol = 1e-09 )polynomial_minimum( p, interval, lower = min(interval), upper = max(interval), tol = 1e-09 )
polynomial_minimum( p, interval, lower = min(interval), upper = max(interval), tol = 1e-09 )
The minimal function value.
polynomial
numeric: a vector containing the end-points of the interval to be searched for the minimum
numeric: the lower end point of the interval to be searched (default: min(interval))
min(interval)
numeric: the upper end point of the interval to be searched (default: max(interval))
max(interval)
numeric: the desired accuracy (default: 1e-9)
1e-9
p <- polynomial(c(-5, 3, -3, 1)) pminimum(p, -3, 3)
Run the code above in your browser using DataLab