Learn R Programming

TML (version 2.3.0)

min_enc.ball: 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)

Value

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

Arguments

A

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

Author

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

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

Run the code above in your browser using DataLab