min_enc.ball: Calculate a minimum enclosing ball for a tropical polytope

View source: R/min.enc.ball.R

min_enc.ballR Documentation

Calculate a minimum enclosing ball for a tropical polytope

Description

This function constructs a minimum enclosing ball for a set of points defining a tropical polytope.

Usage

min_enc.ball(A)

Arguments

A

matrix of points defining a tropical polytope. Rows are the points.

Value

list containing center point and radius of minimum enclosing ball of P

Author(s)

David Barnhill david.barnhill@nps.edu

References

Barnhill, David, Ruriko Yoshida and Keiji Miura (2023). Maximum Inscribed and Minimum Enclosing Tropical Balls of Tropical Polytopes and Applications to Volume Estimation and Uniform Sampling.

Examples

P <-matrix(c(0,0,0,0,3,1,0,2,5),3,3,TRUE)
min_enc.ball(P)

TML documentation built on Sept. 11, 2024, 6:19 p.m.