Learn R Programming

distr6 (version 1.3.2)

Integers: Set of Integers

Description

The mathematical set of integers.

Value

Returns R6 object of class Integers.

Constructor

Integers$new(dim = 1,...)

Constructor Arguments

Argument Type Details
dim numeric Dimension of the set.

Constructor Details

Generally the ... argument should be ignored, its primary use-case is for the child-classes.

Details

The set of Integers is defined as the set of numbers that can be written without a fractional component, i.e. $$Integers = \{...,-3, -2, -1, 0, 1, 2, 3,...\}$$

See Also

listSpecialSets

Examples

Run this code
# NOT RUN {
Integers$new()
Integers$new(dim = 2)

# }

Run the code above in your browser using DataLab