Constructor for mpimat objects.

mpimat(grid, nrows = 0, ncols = 0, bf_rows = 16, bf_cols = 16, type = "double")

Arguments

grid

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

nrows, ncols

The dimensions of the matrix.

bf_rows, bf_cols

The blocking factor.

type

Storage type for the matrix. Should be one of 'int', 'float', or 'double'.

Value

A mpimat class object.

Details

Data is held in an external pointer.

See also