Convert an R matrix to an mpimat object.

as_mpimat(grid, x, bf_rows = 16, bf_cols = 16)

Arguments

grid

An MPI grid object; the return of grid(). See ?grid.

x

R matrix.

bf_rows, bf_cols

The blocking factor.

Value

An mpimat object.