trop.hyper.dist {TML} | R Documentation |
Calculate the tropical distance to a max-tropical hyperplane
Description
Calculate the tropical distance to a max-tropical hyperplane
Usage
trop.hyper.dist(O, x0, tadd = max)
Arguments
O |
normal vector of a tropical hyperplane; numeric vector |
x0 |
point of interest; numeric vector |
tadd |
function; max indicates max-plus addition, min indicates min-plus addition. Defaults to max |
Value
tropical distance to max-plus tropical hyperplane
Author(s)
David Barnhill david.barnhill@nps.edu
Examples
O <-c(0,-1,-1)
x0 <- c(0,-2,-8)
trop.hyper.dist(O,x0)
trop.hyper.dist(O,x0,tadd=min)
[Package TML version 2.3.0 Index]