Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
irem - 整数の剰余
iquo - 整数の商
使い方
irem(m,n) irem(m,n,'q')
iquo(m,n) iquo(m,n,'r')
パラメータ
m, n - 任意の式
q, r - 名前
説明
m と n が両方とも整数なら、関数 irem は n で割られる m の整数剰余を計算します。3 番目の引数が存在するなら、商が割り当てられます。 同様に、iquo は n で割られる m の整数商を計算します。3 番目の引数が存在するなら、剰余が割り当てられます。
特に、m と n が整数なら、irem は m = n*q + r, abs(r) < abs(n) かつ m*r >= 0 となるような r を返します。
m と n が両方とも整数でないなら、irem は評価されません。
例
irem(23,4,'q');
q;
iquo(23,4,'r');
r;
irem(-23,4);
irem(23,-4);
irem(-23,-4);
irem(x,3);
参照
rem, quo
Download Help Document