@jamco.eth
PdfLib.sol is a library for probability density functions in Solidity. I wrote up some of the process of building it here.
And shout out to @prberg for both an amazing foundry template and math library π
https://paragraph.xyz/@jamesmccomish/probability-density-function-library-in-solidity