Learn R Programming

set6 (version 0.1.1)

Complex: Set of Complex Numbers

Description

The mathematical set of complex numbers, defined as the set of reals with possibly imaginary components. i.e. $$\\{a + bi \\ : \\ a,b \in R\\}$$ where \(R\) is the set of reals.

Value

An R6 object of class Complex.

Constructor

Complex$new(lower = -Inf+0i, upper = Inf+0i)

Constructor Arguments

Argument Type Details
lower complex Lower limit of interval.

Public Fields

Field Link

class class elements elements length length lower lower upper upper max max min min range range properties properties traits traits type type

Public Methods

Interval Methods Link
isSubinterval(x, proper = FALSE, all = FALSE) isSubinterval

Comparison Methods Link contains(x, all = FALSE, bound = NULL) contains equals(x, all = FALSE) equals isSubset(x, proper = FALSE, all = FALSE) isSubset Representation Methods Link strprint(n = 2) strprint print(n = 2) print summary(n = 2) summary

See Also

listSpecialSets

Other SpecialSets: ExtendedReals, Integers, Naturals, NegIntegers, NegRationals, NegReals, PosIntegers, PosNaturals, PosRationals, PosReals, Rationals, Reals

Examples

Run this code
# NOT RUN {
Complex$new()
# }

Run the code above in your browser using DataLab