Converts a distributed matrix into a non-distributed vector.
as.vector(x, ...)# S4 method for ddmatrix
as.vector(x, mode = "any", proc.dest = "all")
numeric distributed matrix
Additional arguments.
A character string giving an atomic mode or "list", or (except for 'vector') "any".
destination process for storing the matrix
Returns an ordinary R vector.
The proc.dest=
argument accepts either the BLACS grid position or the
MPI rank if the user desires a single process to own the matrix.
Alternatively, passing the default value of 'all'
will result in all
processes owning the matrix. If only a single process owns the undistributed
matrix, then all other processes store NULL
for that object.