supremum.interval: Return the (vector of) supremum of the interval.

View source: R/interval.R

supremum.intervalR Documentation

Return the (vector of) supremum of the interval.

Description

Return the (vector of) supremum of the interval.

Usage

## S3 method for class 'interval'
supremum(object)

Arguments

object

An interval object.

Value

Numeric vector of upper bounds.

Examples

iv <- interval$new(lower = 0, upper = 1)
supremum(iv) # 1

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