powered by
This function calculates the center point and radius of the maximum inscribed ball for a max- or min-plus tropical simplex
max_ins.ball(A, tadd = max)
list containing the radius and center point of a maximum inscribed ball
matrix of points defining a tropical polytope; rows are the points
function; max indicates max-plus addition, min indicates min-plus addition. Defaults to max
David Barnhill david.barnhill@nps.edu
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.
P<-matrix(c(0,0,0,0,2,5,0,3,1),3,3,TRUE) max_ins.ball(P) max_ins.ball(P,tadd=min)
Run the code above in your browser using DataLab