
Last chance! 50% off unlimited learning
Sale ends in
Makes a symbolic representation for the complement of sets/intervals.
complement.SetInterval(...)# S3 method for SetInterval
-(x, y)
SetInterval
SetInterval
SetIntervals to take the complement of.
Returns an R6 object inheriting from SetInterval.
This does not calculate the complement of the arguments but is just a symbolic representation using unicode.
# NOT RUN {
PosNaturals$new() - Interval$new(-1,10)
complement.SetInterval(Reals$new(), Interval$new(10,Inf))
# }
Run the code above in your browser using DataLab