View source: R/trop.hyper.dist.R
trop.hyper.dist | R Documentation |
Calculate the tropical distance to a max-tropical hyperplane
trop.hyper.dist(O, x0, tadd = max)
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 |
tropical distance to max-plus tropical hyperplane
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.