R: Set of Negative Real Numbers

NegReals {set6} | R Documentation

## Set of Negative Real Numbers

### Description

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

I- U Q-

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

### Super classes

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

### Methods

#### Public methods

- `NegReals$new()`

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

##### Usage

    NegReals$new(zero = FALSE)

##### Arguments

`zero`

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

##### Returns

A new `NegReals` object.

#### Method `clone()`

The objects of this class are cloneable with this method.

##### Usage

    NegReals$clone(deep = FALSE)

##### Arguments

`deep`

  Whether to make a deep clone.

### See Also

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

[Package set6 version 0.2.1 Index]