Changes between Version 1 and Version 2 of Ticket #16719


Ignore:
Timestamp:
07/27/14 16:16:47 (5 years ago)
Author:
rws
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16719 – Description

    v1 v2  
    2727125 loops, best of 3: 6.45 ms per loop
    2828}}}
     29Addendum: even faster would be to use `(n-1)!*H(n-1)` for `stirling(n,2)`, dependent on #16671:
     30{{{
     31sage: harmonic_number(99)*factorial(99)==stirling_number1(100,2)
     32True
     33sage: timeit('harmonic_number(99)*factorial(99)')
     34625 loops, best of 3: 56.9 µs per loop
     35}}}