Class SVEC
- java.lang.Object
-
- dev.nm.algebra.linear.vector.doubles.dense.DenseVector
-
- dev.nm.algebra.linear.matrix.doubles.operation.SVEC
-
- All Implemented Interfaces:
Vector,AbelianGroup<Vector>,BanachSpace<Vector,Real>,HilbertSpace<Vector,Real>,VectorSpace<Vector,Real>,DeepCopyable
public class SVEC extends DenseVector
SVECconverts 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},] \]SVECis the inverse operator ofMAT.
-
-
Method Summary
-
Methods inherited from class dev.nm.algebra.linear.vector.doubles.dense.DenseVector
add, add, add, angle, deepCopy, divide, divide, equals, get, hashCode, innerProduct, innerProduct, minus, minus, minus, multiply, multiply, norm, norm, opposite, pow, scaled, scaled, set, set, size, toArray, toString, ZERO
-
-
-
-
Constructor Detail
-
SVEC
public SVEC(Matrix A)
Construct the SVEC of a matrix.- Parameters:
A- a matrix
-
-