powered by
Return the supremum of the finite set.
# S3 method for finite_set supremum(object)
Numeric; the maximum value(s).
A finite set.
fs <- finite_set$new(c(1, 3, 5, 7)) supremum(fs) # 7
Run the code above in your browser using DataLab