Description Usage Arguments Details See Also Examples
usual-usual product for multiblocks
1 2 3 | x %uu% y
usual_usual(x, y)
|
x |
a numeric multiblock |
y |
a numeric multiblock |
This product requires objects to have compatible block-dimensions
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # block vector
v = 1:5
bv = blockvector(v, parts=c(2, 3))
bv %uu% bv
# matrix
a = matrix(1:20, 4, 5)
rownames(a) = paste("ind", 1:4, sep='')
colnames(a) = c("a1", "a2", "b1", "b2", "b3")
# block-matrix and block-matrix
A = blockmatrix(a, c(2, 2), c(2, 3))
A %uu% t(A)
# block-matrix and block-vector
A %uu% bv
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.