REMAINDER _ _ _ _ _ _ _ _ _ _ _ _ operator
The remainder operator returns the remainder after its first argument is divided by its second argument.
<expression> can be any valid REDUCE polynomial, and is not limited to numeric values.
remainder(13,6); 1 remainder(x**2 + 3*x + 2,x+1); 0 remainder(x**3 + 12*x + 4,x**2 + 1); 11*X + 4 remainder(sin(2*x),x*y); SIN(2*X)
In the default case, remainders are calculated over the integers. If you need the remainder with respect to another domain, it must be declared explicitly.
If the first argument to remainder contains a denominator not equal to 1, an error occurs.