Maple Student Edition
Maple Personal Edition
Maple Player for iPad
Maple T.A. MAA Placement Test Suite
Maple T.A. Connector for Blackboard Software
Möbius Project Home Page
View Math Apps
Machine Design / Industrial Automation
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Other Application Areas
High Schools & Two-Year Colleges
Testing & Assessment
High Performance Computing
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
irem - integer remainder
iquo - integer quotient
irem(m, n) irem(m, n, 'q')
iquo(m, n) iquo(m, n, 'r')
If m and n are both integers the function irem computes the integer remainder of m divided by n. If the third argument is present it will be assigned the quotient. Likewise, iquo computes the integer quotient of m divided by n and if the third argument is present assigns it the remainder.
Specifically, if m and n are integers then irem returns r such that m=n⁢q+r,r<n and 0≤m⁢r.
If either of m or n is symbolic, then irem remains unevaluated.
The irem and iquo commands are thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe.
Use the rem and quo commands for symbolic m or n.
Use the frem command for floating-point m or n.
Error, invalid input: irem received 2.3, which is not valid for its 2nd argument, n
frem, quo, rem
Download Help Document