Can anyone help me to make an Rcpp for fast matrix multiplication of a matrix A and its transpose in R?
It seems that the built-in function crossprod is stable. But it seems that it does not take an advantage of the fact that here we don't actually need to compute all entries due to the symmetry of the matrix.
Can anyone help me?