
|
Go to the first, previous, next, last section, table of contents.
- poly % m
-
:: À°¿ô¤Ë¤è¤ë¾ê;
- return
-
À°¿ô¤Þ¤¿¤Ï¿¹à¼°
- poly
-
À°¿ô¤Þ¤¿¤ÏÀ°¿ô·¸¿ô¿¹à¼°
- m
-
À°¿ô
-
poly ¤Î³Æ·¸¿ô¤ò m ¤Ç³ä¤Ã¤¿¾ê;¤ÇÃÖ¤´¹¤¨¤¿Â¿¹à¼°¤òÊÖ¤¹.
-
·ë²Ì¤Î·¸¿ô¤ÏÁ´¤ÆÀµ¤ÎÀ°¿ô¤È¤Ê¤ë.
-
poly ¤ÏÀ°¿ô¤Ç¤â¤è¤¤. ¤³¤Î¾ì¹ç, ·ë²Ì¤¬Àµ¤ËÀµµ¬²½¤µ¤ì¤ë¤³¤È¤ò½ü¤±¤Ð
irem() ¤ÈƱÍͤËÍѤ¤¤ë¤³¤È¤¬¤Ç¤¤ë.
-
poly ¤Î·¸¿ô, m ¤È¤âÀ°¿ô¤Ç¤¢¤ëɬÍפ¬¤¢¤ë¤¬, ¥Á¥§¥Ã¥¯¤Ï¹Ô¤Ê¤ï¤ì¤Ê¤¤.
[0] (x+2)^5 % 3;
x^5+x^4+x^3+2*x^2+2*x+2
[1] (x-2)^5 % 3;
x^5+2*x^4+x^3+x^2+2*x+1
[2] (-5) % 4;
3
[3] irem(-5,4);
-1
- »²¾È
-
section
idiv , irem .
Go to the first, previous, next, last section, table of contents.
|