HAR.TLineSeg.centroid {TML} | R Documentation |
Gaussian-like Sampling on a max- or min-plus tropical line segment
Description
This function samples points on a tropical line segment about a location parameter for a given scale parameter defined in terms of tropical distance
Usage
HAR.TLineSeg.centroid(D1, D2, m, s, tadd = max)
Arguments
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 |
Value
point on the line segment defined by D1 and D2 sampled about mu
Author(s)
David Barnhill david.barnhill@nps.edu
Examples
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)
[Package TML version 2.3.0 Index]