mult_grid: Kronecker matrix product functionality

mult_gridR Documentation

Kronecker matrix product functionality

Description

Peculiar version of expand.grid() for matrices

Usage

mult_grid(L)
pair_grid(a,b)

Arguments

L

List of matrices

a, b

Matrices

Details

Function pair_grid(a,b) returns a matrix with each column of a cbind()-ed to each column of b.

Function mult_grid() takes a list of matrices; it is designed for use by ggrl().

Author(s)

Robin K. S. Hankin

See Also

ggrl

Examples

pair_grid(diag(2),diag(3))
mult_grid(lapply(1:4,diag))

hyper2 documentation built on June 22, 2024, 9:57 a.m.