Navigation

Operators and Keywords

Function List:

C++ API

: vech (x)

Return the vector obtained by eliminating all superdiagonal elements of the square matrix x and stacking the result one column above the other.

This has uses in matrix calculus where the underlying matrix is symmetric and it would be pointless to keep values above the main diagonal.

See also: vec.

Package: octave