R/finite_set.R
dim.finite_set.Rd
Return the dimension of the finite set.
# S3 method for class 'finite_set' dim(x)
A finite set.
Integer; the dimension of the set.
fs <- finite_set$new(c(1, 3, 5, 7)) dim(fs) # 1 #> [1] 1