- Timestamp:
- Jan 11, 2018 11:02:39 AM (7 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- e077231
- Parents:
- 2ab331f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
explore/precision.py
ra1c5758 r2a7e20e 345 345 ) 346 346 add_function( 347 name="(1/2 +(1-cos(x))/x^2-sin(x)/x)/x",347 name="(1/2-sin(x)/x+(1-cos(x))/x^2)/x", 348 348 mp_function=lambda x: (0.5 - mp.sin(x)/x + (1-mp.cos(x))/(x*x))/x, 349 349 np_function=lambda x: (0.5 - np.sin(x)/x + (1-np.cos(x))/(x*x))/x, … … 609 609 names = ", ".join(sorted(ALL_FUNCTIONS)) 610 610 print("""\ 611 usage: precision.py [-f/a/r] [-x<range>] name...611 usage: precision.py [-f/a/r] [-x<range>] "name" ... 612 612 where 613 613 -f indicates that the function value should be plotted, … … 620 620 zoom indicates linear stepping in [1000, 1010] 621 621 neg indicates linear stepping in [-100.1, 100.1] 622 and name is "all [first]" or one of:622 and name is "all" or one of: 623 623 """+names) 624 624 sys.exit(1)
Note: See TracChangeset
for help on using the changeset viewer.