#14334: integral of multivariate polynomial
-------------------------------------------+-------------------------------
       Reporter:  chapoton                 |        Owner:  malb
           Type:  defect                   |       Status:  positive_review
       Priority:  major                    |    Milestone:  sage-5.12
      Component:  commutative algebra      |   Resolution:
       Keywords:  integral of polynomials  |    Merged in:
        Authors:  Frédéric Chapoton        |    Reviewers:  Andrey
Report Upstream:  N/A                      |  Novoseltsev
         Branch:                           |  Work issues:
   Dependencies:                           |       Commit:
                                           |     Stopgaps:
-------------------------------------------+-------------------------------

Comment (by nbruin):

 This can be done later as well: Isn't it a bit overly restrictive to
 demand QQ is a subfield? Everything should be fine as long as
 factorial(degree(f,x)) is invertible in the base ring.

 Perhaps just try the computation:
  - If you end up with an exponent that is divisible by the characteristic,
 you'll get a `ZeroDivisionError`.
  - If you try to convert the newly computed coefficient into the base
 ring, you'll get an error for things like `integrate(5*x^2*y,y)` in
 `ZZ[x,y]`, because `ZZ(5/3)` will fail.
 You could catch these errors and raise a `ValueError: polynomial does not
 have an antiderivative over this ring`.

--
Ticket URL: <http://trac.sagemath.org/ticket/14334#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to