public class SVEC extends DenseVector
SVEC converts a symmetric matrix K = {Kij} into a vector of dimension n(n+1)/2.
That is,
\[
\rm{svec}(K) = [k_{1,1}, \sqrt2k_{1,2}, ..., \sqrt2k_{1,n}, k_{2,2}, \sqrt2k_{2,3}, ..., \sqrt2k_{2,n}, ... k_{n,n},]
\]
SVEC is the inverse operator of MAT.| Constructor and Description |
|---|
SVEC(Matrix A)
Construct the SVEC of a matrix.
|
public SVEC(Matrix A)
A - a matrix