Description Usage Arguments Details See Also Examples
Given the order of a duplication and matrix x
, performs one of the matrix-matrix
operations:
\bold{Y} = \bold{DX}, if side = "left"
and transposed = FALSE
, or
\bold{Y} = \bold{D}^T\bold{X}, if side = "left"
and transposed = TRUE
, or
\bold{Y} = \bold{XD}, if side = "right"
and transposed = FALSE
, or
\bold{Y} = \bold{XD}^T, if side = "right"
and transposed = TRUE
,
where \bold{D} is the duplication matrix of order n. The main aim of
dupl.prod
is to do this matrix multiplication without forming the
duplication matrix.
1 |
n |
order of the duplication matrix. |
x |
numeric matrix (or vector). |
transposed |
logical. Duplication matrix should be transposed? |
side |
a string selecting if duplication matrix is pre-multiplying |
Underlying C
code only uses information provided by dupl.info
to
performs the matrix multiplication. The duplication matrix is never created.
1 2 3 4 5 6 |
[1] TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.