We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Danger.linearInterpolation(items, value) Danger.linearInterpolation([[1,10], [2,30], [3,40]], 1.5) // 20 Danger.linearInterpolation([[1,10], [2,30], [3,40]], 1.2) // 14
Ideally, this would work with distributions too.
The text was updated successfully, but these errors were encountered:
I have a simple example of SampleSet dist interpolation working. https://preview.squiggle-language.com/playground#code=eNp1jrEKwjAYhF%2FlJ1OiUZqIS8FJcXXoaBwCSWqhSUvyq0Ptu5uigxWcjvuO424gxjp9a3HfGUtKou826toemoSJGsHBSA4P29RXPLljExMy2EGlfd%2FayuLa615SFeALudj5qZ%2FrjP%2BL5DsanilvJJkFFvMdWGaeIRWw%2BnkwqsBUUMFRLM8FF5fp0%2Bx56KLXLRVFwWHLOHy8zHaTLTIyvgDl5VCM
For PointSets, I assume we could just walk the dists and average each percentile. (Not totally sure though)
Sorry, something went wrong.
test comment, for discord bot.
No branches or pull requests
Description of suggestion or shortcoming:
Ideally, this would work with distributions too.
The text was updated successfully, but these errors were encountered: