Learn R Programming

distr6 (version 1.1.0)

ExtendedReals: Set of Extended Reals

Description

The mathematical set of extended real numbers.

Value

Returns R6 object of class ExtendedReals.

Constructor

ExtendedReals$new(dim = 1)

Constructor Arguments

Argument Type Details
dim numeric Dimension of the set.

Details

The set of Extended Reals is defined as the union of the set of reals with +-Infinity, i.e. $$ExtendedReals = R \cup \{-\infty, \infty\}$$ where \(R\) is the set of reals.

See Also

listSpecialSets

Examples

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

# }

Run the code above in your browser using DataLab