Learn R Programming

set6 (version 0.2.4)

PosReals: Set of Positive Real Numbers

Description

The mathematical set of positive real numbers, defined as the union of the set of positive rationals and positive irrationals. i.e. $$I^+ \cup Q^+$$ where \(I^+\) is the set of positive irrationals and \(Q^+\) is the set of positive rationals.

Arguments

Super classes

set6::Set -> set6::Interval -> set6::SpecialSet -> set6::Reals -> PosReals

Methods

Public methods

Method new()

Create a new PosReals object.

Usage

PosReals$new(zero = FALSE)

Arguments

zero

logical. If TRUE, zero is included in the set.

Returns

A new PosReals object.

Method clone()

The objects of this class are cloneable with this method.

Usage

PosReals$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

Other special sets: Complex, ExtendedReals, Integers, Logicals, Naturals, NegIntegers, NegRationals, NegReals, PosIntegers, PosNaturals, PosRationals, Rationals, Reals, Universal