Commit graph

22 commits

Author SHA1 Message Date
6e4c61155a Re-organize formulas for better readability/maintainability 2023-03-23 19:04:07 -05:00
bb0f83e75a Make tests faster 2023-03-23 11:47:39 -05:00
3078584043 Rewrite integration to handle nested formulas properly
And more clearly defines which formulas are supported
2023-03-23 11:43:44 -05:00
5afb691b30 Fix more tests 2023-03-21 00:15:28 -05:00
d3f5e3bed7 Fix some merge issues 2023-02-15 21:08:10 -06:00
8987c0c69f More test fixes 2023-02-15 20:32:30 -06:00
553c6a4554 Make clamping functions pass-throughs for inverting 2023-02-15 20:32:27 -06:00
fd925071e5 Fix some tests 2023-02-15 20:32:24 -06:00
de0e3f90b8 Updated formula typing for non-invertible params in invertible formulas 2023-02-15 20:32:10 -06:00
a4d6c2e844 Added tests for requirements 2023-02-15 20:32:05 -06:00
7eeb0318e2 Make requirements support buying max 2023-02-15 20:31:53 -06:00
b89c4cde09 Fix error about persistent value that isn't part of a layer 2023-02-15 20:31:46 -06:00
60625ec9a0 Update vitest 2023-02-15 20:31:29 -06:00
4e9a0f6cb5 Add some more tests for nested formulas 2023-02-15 20:31:05 -06:00
aebf318f83 Lots of formula changes
Many tests fail and inverting integrals is basically non-functional because it just chains stuff
Will need to implement integration by parts and/or integration by substitution for that
2023-02-15 20:30:58 -06:00
5293a2ba92 Added tests for custom formulas 2023-02-15 20:30:19 -06:00
30aec8a93c Implement conditional formulas 2023-02-15 20:30:16 -06:00
675b30fdd0 Implement step-wise functions 2023-02-15 20:30:13 -06:00
773401069a Made formulas comparable and more efficient 2023-02-15 20:30:10 -06:00
7593fea512 Fix some tests. Boy tests run slow 2023-02-15 20:29:46 -06:00
5f3dd1162d Support variable anywhere in formula 2023-02-15 20:29:05 -06:00
c8283a7043 Formulas implementation (incomplete) 2023-02-15 20:28:44 -06:00