![]() |
My Project
|
This file provides a probabilistic irreducibility test for polynomials over Z/p. More...
#include "canonicalform.h"Go to the source code of this file.
Functions | |
| double | numZeros (const CanonicalForm &F, int k) |
| evaluate F at k random points in Z/p^n and count the number of zeros that occur More... | |
| int FACTORY_PUBLIC | probIrredTest (const CanonicalForm &F, double error) |
| given some error probIrredTest detects irreducibility or reducibility of F with confidence level 1-error More... | |
This file provides a probabilistic irreducibility test for polynomials over Z/p.
ABSTRACT: irreducibility test based on "Quick and Dirty Irreducibility Test" by v. Bothmer and Schreyer
Definition in file facIrredTest.h.
| double numZeros | ( | const CanonicalForm & | F, |
| int | k | ||
| ) |
evaluate F at k random points in Z/p^n and count the number of zeros that occur
| [in] | F | some poly over Z/p with n variables |
| [in] | k | number of trials |
Definition at line 24 of file facIrredTest.cc.
| int FACTORY_PUBLIC probIrredTest | ( | const CanonicalForm & | F, |
| double | error | ||
| ) |
given some error probIrredTest detects irreducibility or reducibility of F with confidence level 1-error
| [in] | F | some poly over Z/p |
| [in] | error | 0 < error < 1 |
Definition at line 63 of file facIrredTest.cc.