Learn R Programming

set6 (version 0.2.4)

Integers: Set of Integers

Description

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

Arguments

Super classes

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

Methods

Public methods

Method new()

Create a new Integers object.

Usage

Integers$new(lower = -Inf, upper = Inf, type = "()")

Arguments

lower

numeric. Where to start the set. Advised to ignore, used by child-classes.

upper

numeric. Where to end the set. Advised to ignore, used by child-classes.

type

character Set closure type. Advised to ignore, used by child-classes.

Returns

A new Integers object.

Method clone()

The objects of this class are cloneable with this method.

Usage

Integers$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

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