QEtaPowerReductionCategory(C, F, AB)¶
qetapowersamba.spad line 496 [edit on github]
- AB: Type 
undocumented
- greaterGrade?: PositiveInteger -> (F, F) -> Boolean
- greaterGrade?(k)(- x,- y) returns qetaGrade(- x,- k)>qetaGrade(- y,- k).
- noTrace: F -> Void
- A function that does nothing. 
- noTraceEnter: (F, AB) -> Void
- A functions that does nothing. 
- reduce: (F, AB) -> F
- reduce(u, ab)returns an element- vsuch that- vis not reducible modulo ab and “u reduces modulo ab to- v".
- reducer: (F, XHashTable(Integer, List F), Integer, PositiveInteger) -> Union(F, failed)
- reducer(u, basis, grdt, k)returns an element- bfrom the- basisor- b=1such that qetaGrade(- u,- k) - qetaGrade(- b,- k) is divisible by- grdtor returns “failed” if no such- bexists.
- topReducible?: (F, F, PositiveInteger) -> Boolean
- topReducible?(u, b, k)returns- trueiff there exists- fin- Fsuch that for- v=- u-- f*b,- lc= qetaLeadingCoefficient, and grade = qetaGrade: (grade(- u,- k) > grade(- v,- k) or (grade(- u,- k) = grade(- v,- k) and euclideanSize- lc(- u,- k) > euclideanSize- lc(- v,- k)
- tracedReduce: ((F, AB) -> Void, F -> Void, F -> Void) -> (F, AB) -> F
- tracedReduce(traceEnter, traceLoop, traceReturn)(- u, ab) behaves identical to reduce(- u, ab) except that at enter and exit time the functions- traceEnter(- u, ab) and traceReturn(- w) are called where- wis the value that will be returned. Inside the internal while loop the function- traceLoop(- v) is called with- vbeing the intermediately reduced- u. These hooks are provided to print a trace of the reduction.
- traceEnter: NonNegativeInteger -> (F, AB) -> Void
- traceEnter(n)(- x, a) returns void() and depending on the value of- nreturns more and more information. Where a higer version of- nmeans more information. trace(0) is equivalent with noTraceEnter.
- traceLoop: NonNegativeInteger -> F -> Void
- traceLoop(n)(- x) just returns void() without any side effect and depending on the value of- nreturns more and more information. Where a higer version of- nmeans more information. trace(0) is equivalent with noTraceElement.
- traceReturn: NonNegativeInteger -> F -> Void
- traceReturn(n)(- x) just returns void() without any side effect and depending on the value of- nreturns more and more information. Where a higer version of- nmeans more information. trace(0) is equivalent with noTraceElement.