Changeset 452b168 in sasmodels
- Timestamp:
- May 16, 2017 12:14:42 PM (8 years ago)
- 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
- Location:
- explore/precision
- Files:
-
- 7 moved
Legend:
- Unmodified
- Added
- Removed
-
explore/precision/J1.py
r95ce773 r452b168 31 31 Actual function that gets evaluated. The caller just vectorizes. 32 32 """ 33 #return mp.mpf(2)*mp.j1(x)/x34 33 return mp.j1(x) 35 34 … … 40 39 from scipy.special import j1 as J1 41 40 x = np.asarray(x, dtype) 42 #return np.asarray(2, dtype)*J1(x)/x43 41 return J1(x) 44 42 -
explore/precision/lgamma.py
rad9af31 r452b168 1 1 r""" 2 Show numerical precision of $ 2 J_1(x)/x$.2 Show numerical precision of $\ln \Gamma(x)$. 3 3 """ 4 4 import sys; sys.path.insert(0, '..') -
explore/precision/log_gamma.py
re6f1410 r452b168 1 1 r""" 2 Show numerical precision of $ sin(x)/x$.2 Show numerical precision of $\ln \Gamma(x)$. 3 3 """ 4 4
Note: See TracChangeset
for help on using the changeset viewer.