R/RcppExports.R
distvec.Rd
Compute Distance between two vectors
distvec(x, y)
A numeric vector
a numeric distance
x <-matrix(rnbinom(1000,mu=0.01, size=10),nrow=1000) x <- x[1,] y <-matrix(rnbinom(1000,mu=0.01, size=10),nrow=1000) y <- y[1,] distvec(x, y) #> [1] 0