116 Commits

Author SHA1 Message Date
Simon Gardling
2bd1f641f9 comments 2022-03-28 09:09:36 -04:00
Simon Gardling
6e281e0569 rename some variables 2022-03-28 08:33:36 -04:00
Simon Gardling
848588e29d small code changes 2022-03-26 00:54:57 -04:00
Simon Gardling
723d61d1b5 dyn_mut_iter 2022-03-24 19:22:28 -04:00
Simon Gardling
e6b87a178e update tests some more 2022-03-24 18:34:16 -04:00
Simon Gardling
08fd104e45 update tests 2022-03-24 18:27:56 -04:00
Simon Gardling
484267c1a4 add 2 comments 2022-03-24 14:44:48 -04:00
Simon Gardling
5c8d7d4292 turn value_vec_to_tuple into a Trait 2022-03-24 12:56:24 -04:00
Simon Gardling
8cbc63fbc7 a lot of refactoring and re-implementing tests for FunctionEntry 2022-03-24 11:26:43 -04:00
Simon Gardling
577162a0b1 Code improvements and better handling of empty integrals 2022-03-24 09:12:51 -04:00
Simon Gardling
50892ed4b5 refactor newton's method 2022-03-24 08:45:09 -04:00
Simon Gardling
26000b06c8 fix resolution_helper 2022-03-23 23:22:10 -04:00
Simon Gardling
c4c29328b6 refactor newtons_method 2022-03-23 20:56:04 -04:00
Simon Gardling
fd82c71652 use rayon parallel iterator when not on wasm 2022-03-23 20:41:24 -04:00
Simon Gardling
55d47121a4 changes 2022-03-23 20:14:02 -04:00
Simon Gardling
cd8cb6b587 TONS of refactoring 2022-03-23 13:41:52 -04:00
Simon Gardling
5f2fdce026 some improvements 2022-03-23 12:24:57 -04:00
Simon Gardling
6be78c763a lots of changes 2022-03-23 10:14:29 -04:00
Simon Gardling
133998ff63 bunch of changes 2022-03-22 11:24:40 -04:00
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