Révision 94 pobysoPythonSage/src/sageSLZ/sagePolynomialOperations.sage

sagePolynomialOperations.sage (revision 94)
127 127
                norm = coefficientAbs
128 128
        return norm
129 129
    # TODO: check here the value of p
130
    # p must be an integer.
131
    if int(p) != p:
132
        return None
133
    # p must be >= 1.
134
    if p < 1:
135
        return None
130 136
    # For 1 norm.
131 137
    if p == 1:
132 138
        for coefficient in poly.coefficients():

Formats disponibles : Unified diff