powered by
This function constructs a max-plus tropical line segment between two points
TLineSeg(D1, D2, tadd = max)
list of points defining the tropical line segment
point in the tropical projective torus
function; max indicates max-plus addition, min indicates min-plus addition. Defaults to max
Ruriko Yoshida ryoshida@nps.edu
D1 <-c(0,4,2) D2 <- c(0,7,-1) TLineSeg(D1, D2) TLineSeg(D1, D2,tadd=min)
Run the code above in your browser using DataLab