Révision 103 pobysoPythonSage/src/sageSLZ/sagePolynomialOperations.sage
sagePolynomialOperations.sage (revision 103) | ||
---|---|---|
140 | 140 |
return norm |
141 | 141 |
# For other norms |
142 | 142 |
for coefficient in poly.coefficients(): |
143 |
norm += (coefficient^p).abs()
|
|
143 |
norm += coefficient.abs()^p
|
|
144 | 144 |
return pow(norm, 1/p) |
145 | 145 |
# end spo_norm |
146 | 146 |
|
Formats disponibles : Unified diff