Ticket #9217: trac_9217_Taylor_gamma_fix.patch

File trac_9217_Taylor_gamma_fix.patch, 2.1 KB (added by tomc, 10 years ago)

revised patch also changes the AUTHORS block to match the format suggested in the Developer's Guide

  • sage/calculus/calculus.py

    # HG changeset patch
    # User Tom Coates <tomc@imperial.ac.uk>
    # Date 1276281206 25200
    # Node ID f1b50d656049aebc1316ea82cdac13c97380fd5e
    # Parent  111ada4c5a615bffb26a9e9dd3bb675d67b6b87f
    trac 9217: fix problem with Taylor expansion of gamma functions
    
    diff -r 111ada4c5a61 -r f1b50d656049 sage/calculus/calculus.py
    a b  
    55
    66- Bobby Moretti and William Stein (2006-2007)
    77
     8- Robert Bradshaw (2007-10): minpoly(), numerical algorithm
     9
     10- Robert Bradshaw (2008-10): minpoly(), algebraic algorithm
     11
     12- Golam Mortuza Hossain (2009-06-15): _limit_latex()
     13
     14- Golam Mortuza Hossain (2009-06-22): _laplace_latex(), _inverse_laplace_latex()
     15
     16- Tom Coates (2010-06-11): fixed Trac #9217
     17
    818The Sage calculus module is loosely based on the Sage Enhancement
    919Proposal found at: http://www.sagemath.org:9001/CalculusSEP.
    1020
     
    811821
    812822       Of course, failure to produce a minimal polynomial does not
    813823       necessarily indicate that this number is transcendental.
    814 
    815     AUTHORS:
    816 
    817     - Robert Bradshaw (2007-10): numerical algorithm
    818 
    819     - Robert Bradshaw (2008-10): algebraic algorithm
    820824    """
    821825    if algorithm is None or algorithm.startswith('numeric'):
    822826        bits_list = [bits] if bits else [100,200,500,1000]
     
    13501354        sage: latex(limit(f, x=oo))
    13511355        \lim_{x \to +\infty}\, f\left(x\right)
    13521356   
    1353     AUTHORS:
    1354 
    1355     - Golam Mortuza Hossain (2009-06-15)
    13561357    """
    13571358    return "\\lim_{%s \\to %s}\\, %s"%(latex(x), latex(a), latex(f))
    13581359
     
    13711372        sage: latex(laplace(f, t, s))
    13721373        \mathcal{L}\left(f\left(t\right), t, s\right)
    13731374   
    1374     AUTHORS:
    1375 
    1376     - Golam Mortuza Hossain (2009-06-22)
    13771375    """
    13781376    return "\\mathcal{L}\\left(%s\\right)"%(', '.join([latex(x) for x in args]))
    13791377
     
    13921390        sage: latex(inverse_laplace(F,s,t))
    13931391        \mathcal{L}^{-1}\left(F\left(s\right), s, t\right)
    13941392   
    1395     AUTHORS:
    1396 
    1397     - Golam Mortuza Hossain (2009-06-22)
    13981393    """
    13991394    return "\\mathcal{L}^{-1}\\left(%s\\right)"%(', '.join([latex(x) for x in args]))
    14001395