Learn R Programming

algebraic.dist (version 0.9.1)

supremum: Get the supremum of the support.

Description

Get the supremum of the support.

Usage

supremum(object)

Value

The supremum (least upper bound) of the support.

Arguments

object

A support object.

Examples

Run this code
I <- interval$new(0, 10)
supremum(I)  # 10

S <- finite_set$new(c(3, 7, 11))
supremum(S)  # 11

Run the code above in your browser using DataLab