trop.FW {TML} | R Documentation |
Calculate the tropical Fermat-Weber point
Description
This function calculates the Fermat-Weber point for a tropical polytope
Usage
trop.FW(A)
Arguments
A |
matrix with normalized tropical points as rows |
Value
numeric vector providing the tropical Fermat-Weber point for the tropical polytope
Author(s)
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
P <-matrix(c(0,0,0,0,2,5,0,3,1),3,3,TRUE)
trop.FW(P)
[Package TML version 2.3.0 Index]