powered by
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
# NOT RUN { x <- matrix(rnorm(300), ncol = 3) y <- matrix(rnorm(300), ncol = 3) compute_proj_dist(x, y) # }
Run the code above in your browser using DataLab