unvech {gmvarkit}R Documentation

Reverse operator of the parsimonious vectorization operator vech

Description

unvech creates a symmetric matrix from the given vector by copying the lower triangular part to be the upper triangular part as well.

Usage

unvech(d, a)

Arguments

d

number of rows the square matrix to be formed.

a

a size (d(d+1)/2x1) vector to be unvectorized into a symmetric (dxd) matrix.

Value

a symmetric matrix of size (dxd).

Warning

No argument checks!


[Package gmvarkit version 2.1.3 Index]