pbdDMAT (version 0.5-0)

ddmatrix-print: Printing a Distributed Matrix

Description

Print method for a distributed matrices.

Usage

print(x, ...)

# S4 method for ddmatrix print(x, ..., all = FALSE, name = "x")

# S4 method for ddmatrix show(object)

Arguments

x, object

numeric distributed matrix

...

additional arguments

all

control for whether the entire distributed matrix should be printed to standard output

name

character string that will be printed to standard output along with the matrix elements

Value

The function silently returns 0.

Details

Print method for class ddmatrix.

If argument all=TRUE, then a modified version of the ScaLAPACK TOOLS routine PDLAPRNT is used to print the entire distributed matrix. The matrix will be printed in column-major fashion, with one element of the matrix per line. If all=FALSE then the name= argument is ignored.