usual_usual: usual-usual product

Description Usage Arguments Details See Also Examples

Description

usual-usual product for multiblocks

Usage

1
2
3
  x %uu% y

  usual_usual(x, y)

Arguments

x

a numeric multiblock

y

a numeric multiblock

Details

This product requires objects to have compatible block-dimensions

See Also

scalar_scalar

Examples

 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

gastonstat/blockberry documentation built on May 16, 2019, 5:44 p.m.