REM

From iMath
Revision as of 15:18, 2 March 2025 by Jrheinlaender (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax

REM ( expression, expression, symbol )


Implemented in iMath since version 2.2.0 or earlier.

Explanation

Calculate the remainder of the division of two polynomials in the given variable. An error message will be shown if one of the expressions is not a polynomial in the variable.

To calculate the integer remainder, use the irem function.


Example

EXDEF REM(x^5 + 1, x - 1, x) will give the result 2.

See also

QUO