rem
remainder of polynomials
quo
quotient of polynomials
Calling Sequence
Parameters
Description
Examples
rem(a, b, x)
rem(a, b, x, 'q')
quo(a, b, x)
quo(a, b, x, 'r')
a, b
-
polynomials in x
x
name
'q', 'r'
(optional) unevaluated names
The rem function returns the remainder of a divided by b. The quo function returns the quotient of a divided by b. The remainder r and quotient q satisfy: where .
If a fourth argument is included in the calling sequence for rem or quo, it will be assigned the quotient q or remainder r, respectively.
See Also
divide
frem
iquo
irem
prem
Quo
Rem
sprem
Download Help Document