Naturals: Set of Natural Numbers

Description Super classes Methods See Also

Description

The mathematical set of natural numbers, defined as the counting numbers. i.e.

0, 1, 2,...

Super classes

set6::Set -> set6::Interval -> set6::SpecialSet -> Naturals

Methods

Public methods

Inherited methods

Method new()

Create a new Naturals object.

Usage
Naturals$new(lower = 0)
Arguments
lower

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

Returns

A new Naturals object.


Method clone()

The objects of this class are cloneable with this method.

Usage
Naturals$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

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


set6 documentation built on Oct. 18, 2021, 5:06 p.m.