View source: R/Points.TLineSeg.R
Points.TLineSeg | R Documentation |
This function calculates k equally spaced points on a tropical line segment
Points.TLineSeg(D1, D2, k = 20, tadd = max)
D1 |
point in the tropical projective torus |
D2 |
point in the tropical projective torus |
k |
number of points |
tadd |
function; max indicates max-plus addition, min indicates min-plus addition. Defaults to max |
matrix of k equally spaced points on a tropical line segment
Ruriko Yoshida ryoshida@nps.edu
D1 <-c(0,4,2)
D2 <- c(0,7,-1)
Points.TLineSeg(D1, D2, k = 5)
Points.TLineSeg(D1, D2, k = 5,tadd=min)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.