Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

NegReals

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

Methods

Public methods


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


set6

R6 Mathematical Sets Interface

v0.2.1
MIT + file LICENSE
Authors
Raphael Sonabend [aut, cre] (<https://orcid.org/0000-0001-9225-4654>), Franz Kiraly [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.