REDUCT INDEX

REDUCT _ _ _ _ _ _ _ _ _ _ _ _ operator

The reduct operator returns the remainder of its expression after the leading term with respect to the kernel in the second argument is removed.

syntax:

reduct(<expression>,<kernel>)

<expression> is ordinarily a polynomial. If ratarg is on, a rational expression may also be used, otherwise an error results. <kernel> must be a kernel.

examples:


reduct((x+y)**3,x); 

        2            2
  Y*(3*X  + 3*X*Y + Y ) 


reduct(x + sin(x)**3,sin(x)); 

  X 


reduct(x + sin(x)**3,y); 

  0

If the expression does not contain the kernel, reduct ret urns 0.