#16671: implement harmonic number function H(n,m)
-------------------------------------+-------------------------------------
       Reporter:  rws                |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  symbolics          |   Resolution:
       Keywords:  special, log       |    Merged in:
        Authors:  Ralf Stephan       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/rws/implement_harmonic_number_function_h_n_m_|  
87597bde4c041766a26674a3a8be1d4b076180d5
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by jdemeyer):

 * status:  needs_review => needs_work


Comment:

 You don't need this:
 {{{
 #!diff
 diff --git a/src/sage/libs/flint/arith.pyx b/src/sage/libs/flint/arith.pyx
 index 7280536..91caf32 100644
 --- a/src/sage/libs/flint/arith.pyx
 +++ b/src/sage/libs/flint/arith.pyx
 @@ -10,10 +10,23 @@ FLINT Arithmetic Functions
 include "sage/ext/interrupt.pxi"
 +cdef extern from "flint/fmpq.h":
 + ctypedef void * fmpq_t
 + void fmpq_init(fmpq_t)
 + void fmpq_clear(fmpq_t)
 + void fmpq_get_mpq(mpq_t, fmpq_t)
 + void fmpq_set_mpq(fmpq_t, mpq_t)
 +
 +cdef extern from "flint/arith.h":
 + void arith_number_of_partitions(fmpz_t x, unsigned long n)
 + void arith_dedekind_sum(fmpq_t, fmpz_t, fmpz_t)
 + void arith_harmonic_number(fmpq_t, unsigned long n)
 +
 from fmpz cimport *
 from fmpq cimport *
 from arith cimport *
 +
 from sage.rings.integer cimport Integer
 from sage.rings.rational cimport Rational
 }}}

 Add the functions you need (only `arith_harmonic_number` in this case) to
 `src/sage/libs/flint/arith.pxd` instead.

--
Ticket URL: <http://trac.sagemath.org/ticket/16671#comment:35>
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/d/optout.

Reply via email to