Constructor for mpimat objects.
mpimat(grid, nrows = 0, ncols = 0, bf_rows = 16, bf_cols = 16, type = "double")
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'. |
A mpimat class object.
Data is held in an external pointer.