Learn R Programming

distr6 (version 1.3.3)

Reals: Set of Reals

Description

The mathematical set of real numbers.

Value

Returns R6 object of class Reals.

Constructor

Reals$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 Reals is defined as the union of the set of rationals and irrationals, i.e. $$Reals = I \cup Q$$ where \(I\) is the set of irrationals and \(Q\) is the set of rationals.

See Also

listSpecialSets

Examples

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

# }

Run the code above in your browser using DataLab