crossprod {kazaam} | R Documentation |
Conceptually, this computes t(x) %*% x
for a shaq x
.
## S4 method for signature 'shaq' crossprod(x, y = NULL)
x |
A shaq. |
y |
Must be |
A regular matrix.
The operation consists of a local crossproduct, followed by an
allreduce()
call, quadratic on the number of columns.
## Not run: library(kazaam) x = ranshaq(runif, 10, 3) cp = crossprod(x) comm.print(cp) finalize() ## End(Not run)