Learn R Programming

set6 (version 0.2.4)

PosIntegers: Set of Positive Integers

Description

The mathematical set of positive integers, defined as the set of positive whole numbers. i.e. $$\\{0, 1, 2, 3,...\\}$$

Arguments

Super classes

set6::Set -> set6::Interval -> set6::SpecialSet -> set6::Integers -> PosIntegers

Methods

Public methods

Method new()

Create a new PosIntegers object.

Usage

PosIntegers$new(zero = FALSE)

Arguments

zero

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

Returns

A new PosIntegers object.

Method clone()

The objects of this class are cloneable with this method.

Usage

PosIntegers$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

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