Learn R Programming

TML (version 2.3.0)

trop.FW: Calculate the tropical Fermat-Weber point

Description

This function calculates the Fermat-Weber point for a tropical polytope

Usage

trop.FW(A)

Value

numeric vector providing the tropical Fermat-Weber point for the tropical polytope

Arguments

A

matrix with normalized tropical points as rows

Author

David Barnhill david.barnhill@nps.edu

References

Lin, Bo and Ruriko Yoshida (2016). Tropical Fermat-Weber Points. SIAM J. Discret. Math. 32: 1229-1245.

Examples

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

trop.FW(P)

Run the code above in your browser using DataLab