R: Set of Real Numbers

Reals {set6} | R Documentation

## Set of Real Numbers

### Description

The mathematical set of real numbers, defined as the union of the set of rationals and irrationals. i.e.

I U Q

where I is the set of irrationals and Q is the set of rationals.

### Super classes

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

### Methods

#### Public methods

- `Reals$new()`

- `Reals$clone()`

Inherited methods

- `set6::Set$add()`

- `set6::Set$multiplicity()`

- `set6::Set$print()`

- `set6::Set$remove()`

- `set6::Set$summary()`

- `set6::Interval$contains()`

- `set6::Interval$equals()`

- `set6::Interval$isSubinterval()`

- `set6::Interval$isSubset()`

- `set6::SpecialSet$strprint()`

#### Method `new()`

Create a new `Reals` object.

##### Usage

    Reals$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 `Reals` object.

#### Method `clone()`

The objects of this class are cloneable with this method.

##### Usage

    Reals$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`, `PosReals`, `Rationals`, `Universal`

[Package set6 version 0.2.4 Index]