supremum: Get the supremum of the support.

View source: R/support.R

supremumR Documentation

Get the supremum of the support.

Description

Get the supremum of the support.

Usage

supremum(object)

Arguments

object

A support object.

Value

The supremum (least upper bound) of the support.

Examples

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

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

algebraic.dist documentation built on Feb. 27, 2026, 5:06 p.m.