Révision 230 pobysoPythonSage/src/sageSLZ/sageRunSLZ.sage
sageRunSLZ.sage (revision 230) | ||
---|---|---|
2610 | 2610 |
lb, |
2611 | 2611 |
ub, |
2612 | 2612 |
polyApproxAccur) |
2613 |
if debug: |
|
2614 |
print "Approximation polynomial computed." |
|
2613 | 2615 |
if prceSo is None: |
2614 | 2616 |
raise Exception("Could not compute an approximation polynomial.") |
2615 | 2617 |
### Convert back the data into Sage space. |
... | ... | |
2724 | 2726 |
# End if debug |
2725 | 2727 |
reductionTime = cputime() |
2726 | 2728 |
#### Compute the reduced polynomials. |
2729 |
print "Starting reduction..." |
|
2727 | 2730 |
ccReducedPolynomialsList = \ |
2728 | 2731 |
slz_compute_coppersmith_reduced_polynomials(intIntP, |
2729 | 2732 |
alpha, |
2730 | 2733 |
N, |
2731 | 2734 |
iBound, |
2732 | 2735 |
tBound) |
2736 |
print "...reduction accomplished in", cputime(reductionTime), "s." |
|
2733 | 2737 |
if ccReducedPolynomialsList is None: |
2734 | 2738 |
raise Exception("Reduction failed.") |
2735 | 2739 |
reductionsFullTime += cputime(reductionTime) |
Formats disponibles : Unified diff