extract | R Documentation |
Operators to extract or replace parts of a distributed matrix.
## S4 method for signature 'ddmatrix'
x[i, j, ICTXT]
x |
numeric distributed matrix. |
i , j |
indices specifying elements to extract or replace. Indices can
be |
ICTXT |
optional BLACS context number for output |
[
can be used to extract/replace for a distributed matrix exactly as
you would with an ordinary matrix.
The functions rely on reblocking across different BLACS contexts. If
i
is not empty, then the input distributed matrix will be
redistributed along context 1, where extracting/deleting rows does not
destroy block-cyclicality. Likewise, if j
is not empty, then the
input distributed matrix will be redistributed along context 2. When
extraction is complete, the matrix will be redistributed across its input
context.
Returns a distributed matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.