powered by
Collapse a shaq into a regular matrix.
collapse(x)
A shaq.
A regular matrix (rank 0) or NULL (everyone else).
NULL
Short answer: quite a bit. Each local submatrix has to be sent to rank 0.
Only rank 0 will own the matrix on return.
library(kazaam) dx = ranshaq(runif, 10, 3) x = collapse(dx) comm.print(x) finalize()
Run the code above in your browser using DataLab