R/tour-utils.R
compute_proj_dist.Rd
Compute Frobenius norm of matrix-like objects x and y
compute_proj_dist(x, y)
'matrix' like objects that have tcrossprod methods
tcrossprod
A numeric vector of length 1 that is the Frobenius norm
x <- matrix(rnorm(300), ncol = 3) y <- matrix(rnorm(300), ncol = 3) compute_proj_dist(x, y) #> [1] 235.2667