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.