powered by
Get the supremum of the support.
supremum(object)
The supremum (least upper bound) of the support.
A support object.
I <- interval$new(0, 10) supremum(I) # 10 S <- finite_set$new(c(3, 7, 11)) supremum(S) # 11
Run the code above in your browser using DataLab