The 'special sets' are the group of sets that are commonly used in mathematics and are thus given their own names.
This is an abstract class and should not be constructed directly. Use listSpecialSets to see the list of implemented special sets.
set6::Set
-> set6::Interval
-> SpecialSet
new()
SpecialSet
is an abstract class, the constructor cannot be used directly.
SpecialSet$new(lower = -Inf, upper = Inf, type = "()", class = "numeric")
lower
defines the lower bound of the interval.
upper
defines the upper bound of the interval.
type
defines the interval closure type.
class
defines the interval class.
strprint()
Creates a printable representation of the object.
SpecialSet$strprint(n = NULL)
n
ignored, added for consistency.
A character string representing the object.
clone()
The objects of this class are cloneable with this method.
SpecialSet$clone(deep = FALSE)
deep
Whether to make a deep clone.