The mathematical set of negative integers.
Returns R6 object of class NegIntegers.
NegIntegers$new(dim = 1, zero = FALSE)
Argument | Type | Details |
dim |
numeric | Dimension of the set. |
zero = FALSE |
logical | If TRUE, zero is included in the set. |
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.
zero
argument).
# NOT RUN {
NegIntegers$new()
NegIntegers$new(zero = TRUE)
NegIntegers$new(dim = 2)
# }
Run the code above in your browser using DataLab