Learn R Programming

ROI.plugin.clarabel (version 0.3)

vech: Half-Vectorization

Description

Extension of the utility function vech performing a half-vectorization on the given matrices.

Usage

vech(..., lower = TRUE, scale = FALSE)

Value

a matrix

Arguments

...

one or more matrices to be half-vectorized.

lower

use lower or upper half-vectorization

scale

whether the lower/upper triangular elements are scaled