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