powered by
The mathematical set of negative integers.
Returns R6 object of class NegIntegers.
NegIntegers$new(dim = 1, zero = FALSE)
dim
zero = FALSE
The set of NegIntegers is defined as the set of negative or non-positive numbers that can be written without a fractional component, i.e. $$NegIntegers = \{...,-3, -2, -1, 0\}$$ \(0\) may or may not be included (depending on the zero argument).
zero
listSpecialSets
# NOT RUN { NegIntegers$new() NegIntegers$new(zero = TRUE) NegIntegers$new(dim = 2) # }
Run the code above in your browser using DataLab