FUNCTION: NcaOnYY - action of an element of the nilCoxeter algebra on a
                    linear combination of YY[code] 
CALLING SEQUENCE:
-   NcaOnYY(e_1, exp)
-   NCA[NcaOnYY](e_1, exp)
-  
   
PARAMETERS:
- e_1 =  any element of the nilCoxeter algebra
- exp =  any expression
 
  
SYNOPSIS:
-  The NcaOnYY function realizes the action of an element of the nilCoxeter
  algebra, say e_1, on  an  expression  exp  expressed  on the YY Schubert
  basis (double Schubert polynomials indexed by codes).
 
 
-  The expression exp is expanded and the result is not collected.
 
 
-  One may add 'noexpand' just after the argument  exp  to  choose  not  to
  expand the expression exp before treating it.
 
 
-  One may collect the result by adding  a  third  argument: this  is  done
  by NcaOnYY(e_1, exp, 'collect'). Moreover, one can use both noexpand and
  collect options: for  instance, NcaOnYY(e_1, exp, 'noexpand', 'collect').
 
 
-  A simple divided difference Di acts on a Schubert polynomial YY[code] by
  sending  it  to  0  if  code[i] <= code[i+1], or  to YY[new_code]  where
  new_code    is   obtained  by   applying    new_code[i] = code[i+1]  and
  new_code[i+1] = code[i]-1, if code[i] > code[i+1].
 
 
-  The result is expressed on the YY Schubert  basis and is  not  collected.
 
 
-  Whenever  there  is  a  conflict between  the function name  NcaOnYY and
  another name used in the same session, use the long  form NCA['NcaOnYY'].
 
 
EXAMPLES:
> with(NCA):
> NcaOnYY(q^4*A[1,3,2] - q^3*A[2,1],  z*YY[2,1] - YY[1,0,0]);
 
                   4                  3             3
                z q  YY[2, 0, 0] - z q  YY[1, 1] + q  YY[0, 0]
 
SEE ALSO: NcaOnXX