Learn R Programming

set6 (version 0.1.1)

ExponentSet: Set of Exponentiations

Description

ExponentSet class for symbolic exponentiation of mathematical sets.

Value

R6 object of class ExponentSet, inheriting from SetWrapper.

Constructor

ExponentSet$new(set, power)

Constructor Arguments

Argument Type Details
set list Set to wrap.

lower Set Lower limit of set. upper Set Upper limit of set. type character Type of set braces.

Constructor Details

It is not recommended to construct this class directly.

Public Fields

Field Link
power power

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

Public Methods

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

Details

The purpose of this class is to provide a symbolic representation for the exponentiation of sets that cannot be represented in a simpler class. Whilst this is not an abstract class, it is not recommended to construct this class directly but via the set operation methods.

See Also

Set operations: setunion, setproduct, setpower, setcomplement, setsymdiff, powerset, setintersect

Other wrappers: ComplementSet, PowersetSet, ProductSet, UnionSet