Learn R Programming

TML (version 2.3.0)

rounding: Remove all tentacles from a tropical simplex

Description

This function removes all tentacles from a tropical simplex. The remaining portion is a full-dimensional tropical polytope known as the trunk of the tropical polytope.

Usage

rounding(P)

Value

matrix of points defining only the full-dimensional element (the trunk) of a tropical polytope; rows are points

Arguments

P

matrix of points defining a tropical simplex. 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,-1,1,0,0,0,0,1,-1),3,3,TRUE)
BP<-min_enc.ball(P)
RP<-rounding(P)
BRP<-min_enc.ball(RP)

Run the code above in your browser using DataLab