Google

Go to the first, previous, next, last section, table of contents.


utrunc, udecomp, ureverse

utrunc(p,d)
udecomp(p,d)
ureverse(p)
:: ¿¹à¼°¤ËÂФ¹¤ëÁàºî
return
°ìÊÑ¿ô¿¹à¼°¤¢¤ë¤¤¤Ï°ìÊÑ¿ô¿¹à¼°¤Î¥ê¥¹¥È
p
°ìÊÑ¿ô¿¹à¼°
d
ÈóÉéÀ°¿ô
  • p ¤ÎÊÑ¿ô¤ò x ¤È¤¹¤ë. ¤³¤Î¤È¤­ p = p1+x^(d+1)p2 (p1 ¤Î¼¡¿ô¤Ï d °Ê²¼) ¤Èʬ²ò¤Ç¤­¤ë. utrunc() ¤Ï p1 ¤òÊÖ¤·, udecomp() ¤Ï [p1,p2] ¤òÊÖ¤¹.
  • p ¤Î¼¡¿ô¤ò e ¤È¤·, i ¼¡¤Î·¸¿ô¤ò p[i] ¤È¤¹¤ì¤Ð, ureverse() ¤Ï p[e]+p[e-1]x+... ¤òÊÖ¤¹.
[132] utrunc((x+1)^10,5);
252*x^5+210*x^4+120*x^3+45*x^2+10*x+1
[133] udecomp((x+1)^10,5);
[252*x^5+210*x^4+120*x^3+45*x^2+10*x+1,x^4+10*x^3+45*x^2+120*x+210]
[134] ureverse(3*x^3+x^2+2*x);
2*x^2+x+3
»²¾È
section udiv, urem, urembymul, urembymul_precomp, ugcd.


Go to the first, previous, next, last section, table of contents.