Learn R Programming

pbdDMAT (version 0.5-1)

binds: Row and Column binds for Distributed Matrices

Description

Row and column binds.

Usage

# S3 method for ddmatrix
rbind(..., ICTXT = .pbd_env$ICTXT,
  deparse.level = 1)

# S3 method for ddmatrix cbind(..., ICTXT = .pbd_env$ICTXT, deparse.level = 1)

Arguments

...

vectors, matrices, or distributed matrices.

ICTXT

BLACS communicator number for return object.

deparse.level

integer controlling the construction of labels in the case of non-matrix-like arguments. Does nothing for distributed matrices.

Value

Returns a vector, matrix, or distributed matrix, depending on input.

Methods

list("signature(... = \"ANY\")")

an R object.

Details

The ... list of arguments can be vectors, matrices, or distributed matrices so long as non-distributed objects are not used with distributed objects. This kind of mixing-and-matching will lead to chaos. Currently no check is performed to prevent the user from this mixing-and-matching for performance reasons (it is slow enough already).