FUNCTION :   lqdegree0 - q-degree of a q-monomial


CALLING SEQUENCE :  lqdegree0()
                    lqdegree0(qexp)


PARAMETERS : qexp - q-monomial


SYNOPSIS :
  Returns q-degree of a q-monomial and can handle fractional
  and negative degrees.

EXAMPLES :

> with(qseries):
> lqdegree0();
-------------------------------------------------------------
lqdegree0(qexp)                                       
   qexp is q-monomial.           
   This function returns the degree in q.
   It also handles fractional degrees.                       
-------------------------------------------------------------
> B:=sqrt(q)*JAC(0,1,infinity);
                               1/2
                         B := q    JAC(0, 1, infinity)
> lqdegree0(B);
                                      1/2
> B1:=(q)*JAC(0,1,infinity);   
                          B1 := q JAC(0, 1, infinity)
> lqdegree0(B1);            
                                       1
> B2:=JAC(0,1,infinity);    
                           B2 := JAC(0, 1, infinity)
> lqdegree0(B2);        
                                       0
> B3:=JAC(0,1,infinity)/q^3;
                                 JAC(0, 1, infinity)
                           B3 := -------------------
                                          3
                                         q
> lqdegree0(B3);            
                                       -3
> B4:=JAC(0,1,infinity)/q^(1/3);
                                 JAC(0, 1, infinity)
                           B4 := -------------------
                                         1/3
                                        q
> lqdegree0(B4);                
                                      -1/3


DISCUSSION :
    F

SEE ALSO :

lqdegree