t,Dyadic-method | R Documentation |
Dyadic
objectThe Dyadic
object transpose of a Dyadic
object: t(Dyadic)
.
## S4 method for signature 'Dyadic'
t(x)
x |
|
The operations are performed in a way that is consistent with the dyadic structure of the matrices.
The Dyadic
-object that is the result of the operation with properly defined fields.
Kos, M., Podgórski, K., & Wu, H. (2025). Dyadic Factorization and Efficient Inversion of Sparse Positive Definite Matrices. arXiv. https://arxiv.org/abs/2505.08144
Dyadic-class
for the definition of the Dyadic
-class;
dyadFac
for the dyadic decomposition of dyadic matrices;
#--------------------------------------------#
#-------Transpose of a dyadic object --------#
#--------------------------------------------#
N <- 4
k <- 3
# Construct four types of dyadic matrices with made of 1's
V <- construct(N, k, type = "vert") # vertical
H <- construct(N, k, type = "horiz") # horizontal
S <- construct(N, k, type = "symm", distr = "unif") # symmetric
t(V)@type # The transpose of a vertical dyadic matrix is horizontal
t(H)@type # The transpose of a horizontal dyadic matrix is vertical
all(as.matrix(t(V)) == t(as.matrix(V))) # Should be TRUE
all(as.matrix(S) == as.matrix(t(S))) # Should be TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.