147 Commits

Author SHA1 Message Date
Simon Gardling
12ba62b322 don't unparse derivative_1 every time 2022-03-21 09:01:11 -04:00
Simon Gardling
ab31d19db0 fix toggling extrema/roots 2022-03-17 03:06:12 -04:00
Simon Gardling
a4b876111e fix spacing 2022-03-16 23:19:18 -04:00
Simon Gardling
0a046438b2 fix 2022-03-16 23:18:12 -04:00
Simon Gardling
5e9dc18469 fmt 2022-03-15 00:14:07 -04:00
Simon Gardling
c692c7c3a2 make newtons_method more accurate 2022-03-10 14:13:57 -05:00
Simon Gardling
9935285c98 documentation, comments, and cleanup 2022-03-10 13:42:22 -05:00
Simon Gardling
3f5a81b16c more refactoring 2022-03-10 10:38:42 -05:00
Simon Gardling
3e00657ade refactor newton's method code 2022-03-10 10:29:49 -05:00
Simon Gardling
cc2722e58c remove dead code 2022-03-10 10:15:52 -05:00
Simon Gardling
a754dcf71c some refactoring 2022-03-10 09:28:28 -05:00
Simon Gardling
dd6d8c80b8 use tabs, not spaces 2022-03-10 09:01:21 -05:00
Simon Gardling
cda3853a01 rename BackingFunction::derivative to BackingFunction::get_derivative_1 2022-03-10 08:49:17 -05:00
Simon Gardling
7e77f8b40d use resolution for newton iteration 2022-03-09 23:51:58 -05:00
Simon Gardling
d436025e24 fix 2022-03-09 22:51:00 -05:00
Simon Gardling
79da65792b stop newton iteration if outside display range 2022-03-09 22:36:34 -05:00
Simon Gardling
c0ef293da9 stuff 2022-03-09 22:25:06 -05:00
Simon Gardling
8ab13c79c3 fix critical issue 2022-03-09 21:48:38 -05:00
Simon Gardling
450ed827ad fix tests 2022-03-09 21:21:01 -05:00
Simon Gardling
fa10dd64a4 changes 2022-03-09 21:19:26 -05:00
Simon Gardling
232f470ce1 roots 2022-03-09 21:15:12 -05:00
Simon Gardling
99592915e1 extrema 2022-03-09 21:05:22 -05:00
Simon Gardling
bdd727e4d0 move some logic to FunctionOutput 2022-03-09 19:54:22 -05:00
Simon Gardling
20d8b1421c fix 2022-03-09 13:23:27 -05:00
Simon Gardling
7f0c3f95ae tests: put repeated code in function 2022-03-09 11:06:15 -05:00
Simon Gardling
91877156e5 formatting 2022-03-09 10:52:57 -05:00
Simon Gardling
3827242a0a front_cache -> integral_cache 2022-03-08 11:06:45 -05:00
Simon Gardling
25c4285fc0 don't partially regen derivative_cache if derivative is disabled 2022-03-08 11:00:32 -05:00
Simon Gardling
21e56cac4d change some usage of constants 2022-03-08 10:47:45 -05:00
Simon Gardling
0deff05ab5 remove some unused logic 2022-03-08 10:39:25 -05:00
Simon Gardling
4358d240f0 rename some variables 2022-03-08 10:17:54 -05:00
Simon Gardling
9837f51382 cache empty FunctionEntry 2022-03-08 09:10:10 -05:00
Simon Gardling
ea6823b852 remove unused method 2022-03-08 08:58:09 -05:00
Simon Gardling
90cd4e81df cleanup 2022-03-08 08:51:59 -05:00
Simon Gardling
eaf2c8e6b8 some formatting 2022-03-07 20:19:53 -05:00
Simon Gardling
a34e37e3f7 name lines 2022-03-07 20:17:05 -05:00
Simon Gardling
f18d7b41a2 fixes 2022-03-07 15:36:40 -05:00
Simon Gardling
10dbc33746 remove derivative tests 2022-03-07 13:43:21 -05:00
Simon Gardling
8524d5f57e changes 2022-03-07 13:26:25 -05:00
Simon Gardling
d48b94c1d2 those didn't work 2022-03-04 23:24:19 -05:00
Simon Gardling
0e2a8fa667 back to meval 2022-03-04 18:09:42 -05:00
Simon Gardling
bd86998755 lots 2022-03-04 18:02:54 -05:00
Simon Gardling
79894c4cad nth derivative support 2022-03-04 14:18:57 -05:00
Simon Gardling
5e9328ce85 Function -> FunctionEntry 2022-03-04 13:55:36 -05:00
Simon Gardling
2e55768972 refactoring of function and derivative code 2022-03-04 13:54:25 -05:00
Simon Gardling
d16b5c882a improve tests 2022-03-04 13:01:44 -05:00
Simon Gardling
7b8c053a29 tests 2022-03-04 11:36:28 -05:00
Simon Gardling
31b53cce91 fmt 2022-03-04 10:28:48 -05:00
Simon Gardling
c1e89d83af clippy 2022-03-04 10:27:39 -05:00
Simon Gardling
8e6f304cab ability to plot integral as a line 2022-03-04 10:22:00 -05:00