trop.dist {TML} | R Documentation |
Compute the tropical distance
Description
This function computes the tropical distance between two points in the tropical projective torus
Usage
trop.dist(D1, D2)
Arguments
D1 |
point in the tropical projective torus |
D2 |
point in the tropical projective torus |
Value
tropical distance between D1 and D2
Author(s)
Ruriko Yoshida ryoshida@nps.edu
Examples
D1 <-c(0,4,2)
D2 <- c(0,7,-1)
trop.dist(D1, D2)
[Package TML version 2.3.0 Index]