Changeset 452b168 in sasmodels for explore


Ignore:
Timestamp:
May 16, 2017 12:14:42 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
eb2946f
Parents:
bb4b509
Message:

move precision tests into subdirectory

Location:
explore/precision
Files:
7 moved

Legend:

Unmodified
Added
Removed
  • explore/precision/J1.py

    r95ce773 r452b168  
    3131    Actual function that gets evaluated.  The caller just vectorizes. 
    3232    """ 
    33     #return mp.mpf(2)*mp.j1(x)/x 
    3433    return mp.j1(x) 
    3534 
     
    4039    from scipy.special import j1 as J1 
    4140    x = np.asarray(x, dtype) 
    42     #return np.asarray(2, dtype)*J1(x)/x 
    4341    return J1(x) 
    4442 
  • explore/precision/lgamma.py

    rad9af31 r452b168  
    11r""" 
    2 Show numerical precision of $2 J_1(x)/x$. 
     2Show numerical precision of $\ln \Gamma(x)$. 
    33""" 
    44import sys; sys.path.insert(0, '..') 
  • explore/precision/log_gamma.py

    re6f1410 r452b168  
    11r""" 
    2 Show numerical precision of $sin(x)/x$. 
     2Show numerical precision of $\ln \Gamma(x)$. 
    33""" 
    44 
Note: See TracChangeset for help on using the changeset viewer.