HAR.TLineSeg | R Documentation |
This function uses a hit-and-run sampler to uniformly sample from a max-plus tropical line segment
HAR.TLineSeg(D1, D2, tadd = max)
D1 |
point in the tropical projective torus |
D2 |
point in the tropical projective torus |
tadd |
string; max indicates max-plus addition, min indicates min-plus addition. Defaults to max |
point on the line segment defined by D1 and D2
Ruriko Yoshida ryoshida@nps.edu
Yoshida, Ruriko, Keiji Miura and David Barnhill (2022). Hit and Run Sampling from Tropically Convex Sets.
D1 <-c(0,4,2)
D2 <- c(0,7,-1)
HAR.TLineSeg(D1, D2,tadd=max)
HAR.TLineSeg(D1, D2,tadd=min)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.