Learn R Programming

algebraic.dist (version 0.9.1)

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

Description

Return the (vector of) supremum of the interval.

Usage

# S3 method for interval
supremum(object)

Value

Numeric vector of upper bounds.

Arguments

object

An interval object.

Examples

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

Run the code above in your browser using DataLab