outerprod: Block-vector Outer Product

Description Usage Arguments Details Examples

Description

Outer product for (block)vectors.

Usage

1
2
3
  x %*o% y

  outerprod(x, y)

Arguments

x

a block-vector

y

a block-vector

Details

This product requires compatible objects

Examples

1
2
3
4
5
6
7
# vector outer product
v = 1:5
v %*o% v

# block-vector outer product
bv = blockvector(v, parts=c(3, 2))
bv %*o% bv

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