supremum.finite_set: Return the supremum of the finite set.

View source: R/finite_set.R

supremum.finite_setR Documentation

Return the supremum of the finite set.

Description

Return the supremum of the finite set.

Usage

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

Arguments

object

A finite set.

Value

Numeric; the maximum value(s).

Examples

fs <- finite_set$new(c(1, 3, 5, 7))
supremum(fs) # 7

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