Command Reference : Matrix Language Reference
  
 
@rank
Syntax: @rank(o, n)
Argument 1: vector, rowvector, matrix, sym, or series, o
Argument 2: (optional) integer, n
Return: integer
Returns the rank of the matrix object o. The rank is calculated by counting the number of singular values of the matrix which are smaller in absolute value than the tolerance, which is given by the argument n. If n is not provided, EViews uses the value given by the largest dimension of the matrix multiplied by the norm of the matrix multiplied by machine epsilon (the smallest representable number).
scalar rank1 = @rank(m1)
scalar rank2 = @rank(s1)
See also @svd.
(You may use the @ranks function to obtain a ranking of the elements of a matrix or vector. See “@ranks”.)