Changes between Initial Version and Version 8 of Ticket #9240


Ignore:
Timestamp:
05/24/11 19:20:03 (10 years ago)
Author:
burcin
Comment:

attachment:trac_9240-factorial_evaluation.patch adds further doctests and fixes for the evaluation of factorials. It should be applied after attachment:trac_9240_full_simplify_gamma.patch.

My changes depend on a small patch to pynac, where I somehow used && instead of bitwise and. This patch can be obtained from:

https://bitbucket.org/burcin/pynac-patches/src/c3c5b3b8b1eb/bitwise.patch

This ticket now depends on a new pynac release, which should be coming soon.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9240

    • Property Status changed from new to needs_review
    • Property Authors changed from to Tom Coates, Burcin Erocal
    • Property Cc kcrisman added
    • Property Milestone changed from sage-4.7 to sage-4.7.1
    • Property Reviewers changed from to Dan Drake
  • Ticket #9240 – Description

    initial v8  
    101101
    102102and then the Maxima interface converts this to Sage as factorial(-2/3).  This causes an error.  For Sage, factorial(x) is only defined if x is a non-negative integer, whereas for Maxima factorial(x) is equivalent to gamma(1+x) and so makes sense whenever x is not in {-1, -2, -3, ...}
     103
     104Apply: trac_9240_full_simplify_gamma.patch, trac_9240-factorial_evaluation.patch