polynomial-algebra-0.1.0.1: Multivariate polynomial rings

Safe HaskellNone
LanguageHaskell2010

Math.Algebra.Polynomial.Univariate.Cyclotomic

Description

Synopsis

Documentation

cyclotomicMoebius :: Int -> Univariate Integer "x" Source #

Cyclotomic polynomials via Moebius inversion

cyclotomicNaive :: Int -> Univariate Integer "x" Source #

Naive algorithm (using the direct definition of cyclotomic polynomials, and reducing sums of roots of unity till they become integers)