Changeset 452b168 in sasmodels for explore/precision/J1.py
- 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
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.