Object Reference : Object View and Procedure Reference : Sym
  
 
sym
Declare a symmetric matrix object.
The sym command declares and optionally initializes a matrix object.
Syntax
sym(n) sym_name[=assignment]
sym takes an optional argument n specifying the row and column dimension of the matrix and is followed by the name you wish to give the matrix.
You may also include an assignment in the sym command. The sym will be resized, if necessary. Once declared, symmetric matrices may be resized by repeating the sym command for a given matrix name.
Examples
sym mom
declares a symmetric matrix named MOM with one zero element.
sym y=@inner(x)
declares a symmetric matrix Y and assigns to it the inner product of the matrix X.
Cross-references
See “Matrix Language” for a discussion of matrix objects in EViews.
See also Matrix::matrix.