FUNCTION :  qseries[qdegree] - Degree in q                 

VERSION: February 15, 2011

CALLING SEQUENCE :  qdegree(QS)     
    
PARAMETERS :   QS   - q-series

   
SYNOPSIS :   

 Returns degree in q.
   
EXAMPLES :   

>  with(qseries):

>  P:=series(etaq(q,1,50)/q^5,q,20);

                     -5    -4    -3        2    7    10      17
               P := q   - q   - q   + 1 + q  - q  - q   + O(q  )

>  qdegree(%);
                                      10

>