FlashX
FlashX copied to clipboard
[FlashR]: implement diag()
in diag(crossprod(mat)), we only need to compute the values in the diagonal.