powered by
projMat(X)
m = matrix(1, nrow = 10, ncol = 3) projMat(m)
Run the code above in your browser using DataLab