Cyclotomic polynomial: Difference between revisions

m
(J: add some comments)
Line 2,072:
* an even base cyclotomic polynomial is the same as the corresponding odd base cyclotomic polynomial except with x replaced by negative x. (that's the <tt>(* 1 _1 $~ #)</tt> phrase in the implementation.
* To deal with the general case, we use polynomial division, x<sup>n</sup>-1 divided by the polynomial product the cyclotomic polynomials of the proper divisors of number we're looking for.
* <tt>+//.@(*/)</tt> is polynomial product in J.
 
Task examples:
6,951

edits