unWvec: Reverse vectorization operator that restores zeros

View source: R/matcal.R

unWvecR Documentation

Reverse vectorization operator that restores zeros

Description

unWvec forms a square matrix from a vector of stacked columns where zeros are removed according to impact matrix constraints.

Usage

unWvec(Wvector, d, B_constraints)

Arguments

Wvector

a length d^2 - n_zeros vector where n_zeros is the number of zero entries in the impact matrix.

d

the number of rows in the square matrix to be formed.

Value

a (d x d) impact matrix W.


sstvars documentation built on June 8, 2025, 10:07 a.m.