Révision 167
pobysoPythonSage/src/sageSLZ/sageSLZ.sage (revision 167) | ||
---|---|---|
654 | 654 |
degreeInVar2 = currentMonomial.degree(parentRing(var2)) |
655 | 655 |
#print "Degree in var", var2, ":", degreeInVar2 |
656 | 656 |
if degreeInVar1 > 0: |
657 |
currentCoefficient = \ |
|
658 |
currentCoefficient / var1Bound^degreeInVar1 |
|
657 |
currentCoefficient /= var1Bound^degreeInVar1 |
|
659 | 658 |
#print "varBound1 in degree:", var1Bound^degreeInVar1 |
660 | 659 |
#print "Current coefficient(1)", currentCoefficient |
661 | 660 |
if degreeInVar2 > 0: |
662 |
currentCoefficient = \ |
|
663 |
currentCoefficient / var2Bound^degreeInVar2 |
|
661 |
currentCoefficient /= var2Bound^degreeInVar2 |
|
664 | 662 |
#print "Current coefficient(2)", currentCoefficient |
665 | 663 |
#print "Current reduced monomial:", (currentCoefficient * \ |
666 | 664 |
# currentMonomial) |
Formats disponibles : Unified diff