Révision 102
pobysoPythonSage/src/sageSLZ/sagePolynomialOperations.sage (revision 102) | ||
---|---|---|
149 | 149 |
From a (bivariate) polynomial and some other parameters build a proto |
150 | 150 |
matrix (an array of "rows") to be converted into a "true" matrix and |
151 | 151 |
eventually by reduced by fpLLL. |
152 |
The matrix is such as those found in Boneh-Durphee and Stehl?.
|
|
152 |
The matrix is such as those found in Boneh-Durphee and Stehlé.
|
|
153 | 153 |
|
154 | 154 |
Parameters |
155 | 155 |
---------- |
pobysoPythonSage/src/sageSLZ/sageSLZ.sage (revision 102) | ||
---|---|---|
111 | 111 |
reducedPolynomials = [] |
112 | 112 |
currentPolynomial = 0 |
113 | 113 |
for matrixRow in reducedMatrix.rows(): |
114 |
currentPolynomial = 0 |
|
114 | 115 |
for colIndex in xrange(0, len(knownMonomials)): |
115 | 116 |
currentCoefficient = matrixRow[colIndex] |
116 | 117 |
#print knownMonomials[colIndex] |
Formats disponibles : Unified diff