![]()
|
Go to the first, previous, next, last section, table of contents.
¥ª¥×¥·¥ç¥ó»ØÄê¥æ¡¼¥¶ÄêµÁ´Ø¿ô¤¬ N ÊÑ¿ô¤ÇÀë¸À¤µ¤ì¤¿¾ì¹ç, ¤½¤Î´Ø¿ô¤Ï, N ÊÑ¿ô¤Ç¤Î¸Æ¤Ó½Ð¤·¤Î¤ß¤¬µö¤µ¤ì¤ë. [0] def factor(A) { return fctr(A); } [1] factor(x^5-1,3); evalf : argument mismatch in factor() return to toplevel ÉÔÄê¸Ä°ú¿ô¤Î´Ø¿ô¤ò¥æ¡¼¥¶¸À¸ì¤Çµ½Ò¤·¤¿¤¤¾ì¹ç, ¥ê¥¹¥È, ÇÛÎó¤òÍѤ¤¤ë¤³¤È¤Ç ²Äǽ¤È¤Ê¤ë¤¬, ¼¡¤Î¤è¤¦¤Ê¤è¤êʬ¤«¤ê¤ä¤¹¤¤ÊýË¡¤â²Äǽ¤Ç¤¢¤ë. % cat factor def factor(F) { Mod = getopt(mod); ModType = type(Mod); if ( ModType == 1 ) /* 'mod' is not specified. */ return fctr(F); else if ( ModType == 0 ) /* 'mod' is a number */ return modfctr(F,Mod); } [0] load("factor")$ [1] factor(x^5-1); [[1,1],[x-1,1],[x^4+x^3+x^2+x+1,1]] [2] factor(x^5-1|mod=11); [[1,1],[x+6,1],[x+2,1],[x+10,1],[x+7,1],[x+8,1]]
2 ÈÖÌܤΠ[100] xxx(1,2,x^2-1,[1,2,3]|proc=1,index=5); Go to the first, previous, next, last section, table of contents. |