A finite set. It also satisfies the concept of a support.

Public fields

values

A vector of values.

Methods


Method new()

Initialize a finite set.

Usage

finite_set$new(values)

Arguments

values

A vector of values.


Method has()

Determine if a value is contained in the finite set.

Usage

finite_set$has(x)

Arguments

x

A vector of values.


Method infimum()

Get the infimum of the finite set.

Usage

finite_set$infimum()

Returns

A numeric vector of infimums.


Method supremum()

Get the supremum of the finite set.

Usage

finite_set$supremum()

Returns

A numeric vector of supremums.


Method dim()

Get the dimension of the finite set.

Usage

finite_set$dim()

Returns

The dimension of the finite set.


Method clone()

The objects of this class are cloneable with this method.

Usage

finite_set$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.