R/finite_set.R
supremum.finite_set.Rd
Return the supremum of the finite set.
# S3 method for class 'finite_set' supremum(object)
A finite set.
Numeric; the maximum value(s).
fs <- finite_set$new(c(1, 3, 5, 7)) supremum(fs) # 7 #> [1] 7