powered by
Calculate the tropical distance to a max-tropical hyperplane
trop.hyper.dist(O, x0, tadd = max)
tropical distance to max-plus tropical hyperplane
normal vector of a tropical hyperplane; numeric vector
point of interest; numeric vector
function; max indicates max-plus addition, min indicates min-plus addition. Defaults to max
David Barnhill david.barnhill@nps.edu
O <-c(0,-1,-1) x0 <- c(0,-2,-8) trop.hyper.dist(O,x0) trop.hyper.dist(O,x0,tadd=min)
Run the code above in your browser using DataLab