matmult {kazaam} | R Documentation |
Matrix Multiplication
Description
Multiplies two distributed matrices, if they are conformable.
Usage
## S4 method for signature 'shaq,matrix'
x %*% y
Arguments
x |
A shaq. |
y |
A regular matrix, globally ownd on all ranks. Since the number of columns of a shaq should be small, this matrix should be small as well. |
Details
The two shaqs must be distributed identically.
Value
A shaq.
Communication
The operation is completely local.
Examples
## Not run:
library(kazaam)
x = ranshaq(runif, 10, 3)
y = matrix(1:9, 3, 3)
x %*% y
finalize()
## End(Not run)
[Package kazaam version 0.1-0 Index]