powered by
nrm2(A)
Cc
X <- matrix(rnorm(6*3),ncol=3) Y <- nrm2(X) apply(Y^2, 2, sum)
Run the code above in your browser using DataLab