powered by
Return the (vector of) supremum of the interval.
# S3 method for interval supremum(object)
Numeric vector of upper bounds.
An interval object.
iv <- interval$new(lower = 0, upper = 1) supremum(iv) # 1
Run the code above in your browser using DataLab