Learn R Programming

distr6 (version 1.1.0)

product.SetInterval: Symbolic Cartesian Product for SetInterval

Description

Makes a symbolic representation for the cartesian product of sets/intervals.

Usage

product.SetInterval(...)

# S3 method for SetInterval *(x, y)

Arguments

x

SetInterval

y

SetInterval

...

SetIntervals to take the cartesian product of.

Value

Returns an R6 object inheriting from SetInterval.

Details

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

See Also

union.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