v = smat2vec A
A = vec2smat v
The method smat2vec obtains the vectorization of a symmetric matrix. The method vec2smat performs the reverse operation.
|
|
|
The scaling of the off-diagonal entries can be controlled with the optional parameter.
|
The object smat2vec is a method function with options.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/SemidefiniteProgramming/SDPdoc.m2:180:0.