Computes the procrustes inner product between two matrices
Source:R/RcppExports.R
procrustes_inner.RdSolves the orthogonal procrustes problem R = argmin ||RA - B||_F where R is an orthonormal matrix. Then computes the frobenius inner product <RA, B> = <R, B*A^T>, which is maximized by R.