block2array: Convert block matrix to array

View source: R/block2array.R

block2arrayR Documentation

Convert block matrix to array

Description

Convert NTxNT matrix with NxN sub-blocks into [N,T,N,T] array

Usage

block2array(M, N, TT)

Arguments

M

NTxNT matrix with NxN sub-blocks

N

dim of sub-blocks

TT

Number of sub-blocks in each row (column)

Value

an array of dim [N,T,N,T] where [, i, , j] gives the (i,j)th NxN sub-block


jlivsey/EMsignal documentation built on March 17, 2024, 5:12 p.m.