TLineSeg {TML} | R Documentation |
Construct a max- or min-plus tropical line segment between two points
Description
This function constructs a max-plus tropical line segment between two points
Usage
TLineSeg(D1, D2, tadd = max)
Arguments
D1 |
point in the tropical projective torus |
D2 |
point in the tropical projective torus |
tadd |
function; max indicates max-plus addition, min indicates min-plus addition. Defaults to max |
Value
list of points defining the tropical line segment
Author(s)
Ruriko Yoshida ryoshida@nps.edu
Examples
D1 <-c(0,4,2)
D2 <- c(0,7,-1)
TLineSeg(D1, D2)
TLineSeg(D1, D2,tadd=min)
[Package TML version 2.3.0 Index]