b13da70c38
tweak: Build Danger.dmr skeleton more
2022-09-05 15:51:55 +02:00
be4e1b1a85
tweak: In Danger namespace, build dmr function further
...
dmr = diminishing marginal returns
2022-09-05 15:27:59 +02:00
fe3075b3bf
tweak: In Danger namespace, further diminishingMarginalReturnsSkeleton
2022-09-05 14:12:34 +02:00
aa3173f85b
tweak: Add skeleton for calculating dimishing returns allocation
2022-09-05 14:00:14 +02:00
f370c44771
tiny tweak: better example
2022-09-05 13:09:28 +02:00
c0713b16c2
tweak: Add better error messages for common use case
...
I.e., the case of integrating a function which
doesn't return a number but a distribution
2022-09-05 13:03:56 +02:00
2b414191ac
tweak: Numerate integration errors.
2022-09-05 12:49:47 +02:00
a45e38d75d
feat: Cleanup of Danger namespace
2022-09-05 12:38:15 +02:00
6d75af61c3
fix: formatting
2022-09-05 12:16:19 +02:00
27ca86e729
feat: Worked out kinks of the integral!
2022-09-05 12:11:42 +02:00
fd7720b045
fix: formatting
2022-09-05 09:39:55 +02:00
2fa97c20f7
fix: Off by one error due to Belt.Array.makeBy
2022-09-05 09:37:48 +02:00
6c04f9bff1
fix: change expected output type of integrals
2022-09-05 09:10:42 +02:00
e73ffaa10a
feat: Added a slightly better integral function
...
Slightly better because the handling of bounds is better.
Previously we were integrating at min, min + interval,
min + i*interval, ...
which meanst that sometimes we weren't integrating at
max.
Also a minimal amount of cleanup
2022-09-05 09:08:53 +02:00
abad453523
fix: no small integration error
2022-09-05 08:41:33 +02:00
244f3ea8d9
feat: Note that this isn't tested yet.
2022-09-04 22:48:29 +02:00
ecf5249b5c
feat: And integration function to Danger namespace
...
Note that I haven't tested this yet.
2022-09-04 22:45:55 +02:00
943e63b379
link: run pretty
2022-09-04 20:26:57 +02:00
b292a3e6fd
tweak: Add to dos to continue tomorrow
2022-09-04 20:07:10 +02:00
f82c00a6ed
tweak: Work out how to apply a function to an
...
arbitrary value in the Danger domain
2022-09-04 19:29:22 +02:00
b45ab3dba2
feat: In Danger namespace, work out how to apply function
2022-09-04 19:22:12 +02:00
b57233096d
tweak: Revert back to working state in Danger namespace
2022-09-04 19:04:13 +02:00
dc34e7c0b8
feat: Danger namespace function tweaking
2022-09-04 18:58:19 +02:00
85fe4d16a2
tweak: Intermediary step while figuring out
...
function application
2022-09-04 18:53:57 +02:00
803231d620
feat: add a few more simple functions to Danger namespace
2022-09-04 17:12:18 +02:00
3106a10b90
tweak: Move new functions to the "Danger" namespace
2022-09-04 15:31:18 +02:00
19ddd4eb3f
tweak: Add TwoNumbersToNumber wrapper to function registry.
2022-09-04 15:09:09 +02:00
Ozzie Gooen
e582fc5be3
library1 -> libraryBase
2022-08-31 22:15:13 -07:00
Ozzie Gooen
255541a679
Added SampleSet.min and Sampleset.max
2022-08-31 21:43:36 -07:00
Ozzie Gooen
72b1d6af3e
Formatted
2022-08-20 15:59:25 -07:00
Ozzie Gooen
a04761226d
Improved error messages of function library
2022-08-20 15:50:30 -07:00
Ozzie Gooen
2aaa43008d
Very simple implementation of pointset mapY
2022-08-08 10:31:05 -07:00
Umur Ozkul
4a98cc210a
fix compiler warnings
2022-07-22 17:49:53 +02:00
Ozzie Gooen
47f1be0702
Story cleanup
2022-07-21 11:29:59 -07:00
Ozzie Gooen
acebaa517b
Simple SampleSet.fromDist function
2022-07-21 10:31:53 -07:00
Ozzie Gooen
223ddf6a3e
Fixed bug with namespaces
2022-07-21 08:54:41 -07:00
Ozzie Gooen
9173b103f5
Fixed major bug for module functions
2022-07-19 23:06:10 -07:00
Ozzie Gooen
90d3f89c0a
Trying to fix things, but breaking a lot of tests.
2022-07-19 21:32:11 -07:00
Ozzie Gooen
35cd9f37d1
Basic changes to API
2022-07-19 20:52:08 -07:00
Ozzie Gooen
100ec2c1a8
Adjusting documentation to reflect new functions
2022-07-19 16:18:28 -07:00
Ozzie Gooen
7316d27b54
Added SampleSet fns to FunctionRegistry
2022-07-19 15:52:28 -07:00
Ozzie Gooen
f8d6db61c5
Moved list functions into FunctionRegistry
2022-07-19 10:35:31 -07:00
Ozzie Gooen
835ce6b81f
Added reducer to Function Registry
2022-07-19 08:42:08 -07:00
Ozzie Gooen
628b105535
PointSet -> Pointset
2022-07-18 08:24:11 -07:00
Ozzie Gooen
08a7b8586b
Simple tests for function library
2022-07-16 22:01:26 -07:00
Ozzie Gooen
c5447b8d7a
All autogenerated FunctionLibrary tests pass
2022-07-16 20:32:37 -07:00
Ozzie Gooen
d88fb95767
Simple reformatting, got RequiresNamespace to work
2022-07-16 18:11:38 -07:00
Ozzie Gooen
0c032e710c
Moved function library modules to separate files
2022-07-16 14:01:00 -07:00