Learn R Programming

distr6 (version 1.3.2)

union.SetInterval: Symbolic Unions for SetInterval

Description

Makes a symbolic representation for the union of sets/intervals.

Usage

union.SetInterval(..., dim = 1)

# S3 method for SetInterval +(x, y)

Arguments

x

SetInterval

y

SetInterval

...

SetIntervals to take the union of.

dim

dimension of new SetInterval.

Value

Returns an R6 object inheriting from SetInterval.

Details

This does not calculate the union of the arguments but is just a symbolic representation using unicode.

See Also

product.SetInterval, complement.SetInterval, power.SetInterval

Examples

Run this code
# NOT RUN {
PosNaturals$new() * Reals$new()
product.SetInterval(PosNaturals$new(), Reals$new())

# }

Run the code above in your browser using DataLab