Ticket #7583: trac_7583-typo.patch

File trac_7583-typo.patch, 1017 bytes (added by mvngu, 4 years ago)

based on Sage 4.3.alpha0

  • sage/numerical/optimize.py

    # HG changeset patch
    # User Minh Van Nguyen <nguyenminh2@gmail.com>
    # Date 1259768715 28800
    # Node ID 3b3b56c1866c4402d2f7c9191e18c9a87d7d914a
    # Parent  44f70d431d43e3dfaa1487641ee6864d5025fb06
    trac 7583: typos in sage.numerical.optimize
    
    diff -r 44f70d431d43 -r 3b3b56c1866c sage/numerical/optimize.py
    a b  
    124124 
    125125def find_minimum_on_interval(f, a, b, tol=1.48e-08, maxfun=500): 
    126126    """ 
    127     Numerically find the minimum of the expression ``self`` on the 
     127    Numerically find the minimum of the expression ``f`` on the 
    128128    interval `[a,b]` (or `[b,a]`) and the point at which it attains that 
    129     minimum.  Note that ``self`` must be a function of (at most) one 
     129    minimum.  Note that ``f`` must be a function of (at most) one 
    130130    variable. 
    131131 
    132132 
    133133    INPUT: 
    134134 
     135    - ``f`` -- a function of at most one variable. 
     136 
    135137    - ``a``, ``b`` -- endpoints of interval on which to minimize self. 
    136138 
    137139    - ``tol`` -- the convergence tolerance