Feature #885
IsIrred3: fast 3-way irred test (returning bool3)
Description
Implement an irreducibility test IsIrred3
which is guaranteed to be fast, but returns a bool3
.
Related issues
History
#1 Updated by John Abbott about 8 years ago
- Related to Design #846: IsIrred: correct design? added
#2 Updated by John Abbott about 8 years ago
- Related to Slug #874: factor: too slow on largish multivariate poly added
#3 Updated by John Abbott about 8 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
- (A) what should the function be called? Is
IsIrred3
a reasonable name? - (B) what should the function return? Just a
bool3
, or something more if a factor has been found?
Regarding (B) I am inclined to return just a bool3
as that seems to fit best the KISS philosophy.
Regarding (A) there are a number of other functions returning bool3
whose names have simply the suffix 3
: for instance, IsMaximal3
and IsIntegralDomain3
. So I think that IsIrred3
is a reasonable choice (but I'm willing to listen to other suggestions).
Presumably the normal IsIrred
function should call IsIrred3
as a first step.
#4 Updated by John Abbott about 8 years ago
The idea of IsIrred3
was created because of some computations Mario needed to do with multivariate polynomials, so the idea is mostly oriented toward that application. In some other contexts there may be no obvious distinction between IsIrred
and IsIrred3
.
Since I see no universal impl of IsIrred3
, I presume the impl will be via mem fns of rings (presumably called myIsIrred3
). A valid implementation is to make myIsIrred3
return uncertain3
always; this could be a reasonable default impl.
#5 Updated by Anna Maria Bigatti almost 8 years ago
- Related to Feature #361: implement IsPrime3, IsMaximal3 added
#6 Updated by Anna Maria Bigatti almost 8 years ago
- Related to Feature #873: bool3: add some logical operations? added
#7 Updated by Anna Maria Bigatti almost 8 years ago
- Related to deleted (Feature #873: bool3: add some logical operations?)
#8 Updated by John Abbott over 6 years ago
- Target version changed from CoCoALib-0.99560 to CoCoALib-0.99600
#9 Updated by John Abbott about 6 years ago
- Target version changed from CoCoALib-0.99600 to CoCoALib-0.99650 November 2019
#10 Updated by John Abbott about 5 years ago
- Target version changed from CoCoALib-0.99650 November 2019 to CoCoALib-1.0