Cumprod and formatting

This commit is contained in:
Ozzie Gooen 2022-06-08 08:21:20 -07:00
parent fc40744053
commit b48a0575d9
3 changed files with 10 additions and 2 deletions

View File

@ -223,6 +223,14 @@ let registry = [
),
],
),
Function.make(
~name="Cumulative Prod",
~definitions=[
ArrayNumberDist.make("cumprod", r =>
r->E.A.Floats.cumsum->E.A2.fmap(Wrappers.evNumber)->Wrappers.evArray->Ok
),
],
),
Function.make(
~name="Diff",
~definitions=[