Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cyclotomic polynomials
Synopsis
- cyclotomic :: Int -> Univariate Integer "x"
- cyclotomicMoebius :: Int -> Univariate Integer "x"
- cyclotomicNaive :: Int -> Univariate Integer "x"
Documentation
cyclotomic :: Int -> Univariate Integer "x" Source #
Synonym to cyclotomicMoebius
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)