powered by
vecToMatrix
vecToMatrix(X, p)
a p by p symetric matrix whose upper triangle coefficients from left to right and from top to bottom are the entries of the vector X
a vector
(integer) the dimension of the square matrix returned by the function be careful the length of the vector X must be equal to p(p+1)/2