xxt {KRIS} | R Documentation |
Calculate matrix multiplication using "divide and conquer technique", which accelerates the computation to be faster.
xxt(X, window.size = 5)
X |
An input matrix to be processed. |
window.size |
The window size of matrices to be devided. The default value is 5. |
The multiplication matrix of X.t(X)
.
#Use the example files embedded in the package.
X <-matrix(runif(100), ncol=20)
R1 <- xxt(X)
#Show the result (R1)
print(R1)
R2 <- X %*% t(X)
#Show the result (R2)
print(R2)