Learn R Programming

distr6 (version 1.3.2)

power.SetInterval: Symbolic Exponentiation for SetInterval

Description

Makes a symbolic representation for the exponentiation of a given set/interval.

Usage

power.SetInterval(x, power)

# S3 method for SetInterval ^(x, power)

Arguments

x

SetInterval

power

power to raise SetInterval to

Value

Returns an R6 object inheriting from SetInterval.

Details

This does not calculate the exponentiation but is just a symbolic representation using unicode.

See Also

product.SetInterval, union.SetInterval, complement.SetInterval

Examples

Run this code
# NOT RUN {
PosNaturals$new() ^ 2
power.SetInterval(Reals$new(), 3)

# }

Run the code above in your browser using DataLab