frobenius_piece | R Documentation |
Calculates the Frobenius norm of a single sub-matrix of the difference of the
Van Loan's permutations of a separable-plus-banded covariance, which must be
at most rank 3, with left factors a1
, b1
and 1
, and
right factors a2
, b2
, 1
. Gram-Schmidt orthogonalization
can be used to calculate the Frobenius norm of such a matrix of size K
x K
in only 3*K
operations, where K
is the dimension of
the matrix.
frobenius_piece(a1, b1, a2, b2, beta)
a1 |
left singular vector of the minuend |
b1 |
right singular vector of the minuend |
a2 |
left singular vector of the subtrahend |
b2 |
left singular vector of the minuend |
beta |
corresponding to the constant matrix 1 otimes 1 |
a number, the Frobenius norm
a1 <- runif(5) b1 <- runif(10) a2 <- runif(5) b2 <- runif(10) beta <- runif(1) frobenius_piece(a1,b1,a2,b2,beta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.