crossprod {kazaam} | R Documentation |
Matrix Multiplication
Description
Conceptually, this computes t(x) %*% x
for a shaq x
.
Usage
## S4 method for signature 'shaq'
crossprod(x, y = NULL)
Arguments
x |
A shaq. |
y |
Must be |
Value
A regular matrix.
Communication
The operation consists of a local crossproduct, followed by an
allreduce()
call, quadratic on the number of columns.
Examples
## Not run:
library(kazaam)
x = ranshaq(runif, 10, 3)
cp = crossprod(x)
comm.print(cp)
finalize()
## End(Not run)
[Package kazaam version 0.1-0 Index]