View source: R/HAR.TLineSeg.Centroid.R
HAR.TLineSeg.centroid | R Documentation |
This function samples points on a tropical line segment about a location parameter for a given scale parameter defined in terms of tropical distance
HAR.TLineSeg.centroid(D1, D2, m, s, tadd = max)
D1 |
point in the tropical projective torus |
D2 |
point in the tropical projective torus |
m |
location parameter |
s |
scale parameter |
tadd |
function; max indicates max-plus addition, min indicates min-plus addition. Defaults to max |
point on the line segment defined by D1 and D2 sampled about mu
David Barnhill david.barnhill@nps.edu
D1 <-c(0,4,2)
D2 <- c(0,7,-1)
m<-c(0,7,2)
s<-1
HAR.TLineSeg.centroid(D1, D2,m,s)
HAR.TLineSeg.centroid(D1, D2,m,s,tadd=min)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.