Skip to content
New issue

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 #2064

Open
OAGr opened this issue Jul 18, 2023 · 2 comments
Open

Danger.linearInterpolation #2064

OAGr opened this issue Jul 18, 2023 · 2 comments
Labels
Std Lib The standard library for Squggle

Comments

@OAGr
Copy link
Contributor

OAGr commented Jul 18, 2023

Description of suggestion or shortcoming:

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.

@OAGr OAGr added the Std Lib The standard library for Squggle label Jul 18, 2023
@github-project-automation github-project-automation bot moved this to 🆕 To prioritize in Overview Jul 18, 2023
@OAGr
Copy link
Contributor Author

OAGr commented Jul 18, 2023

@OAGr
Copy link
Contributor Author

OAGr commented Jul 19, 2023

test comment, for discord bot.

@berekuk berekuk moved this from 🆕 To prioritize to 🔖 Later in Overview Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Std Lib The standard library for Squggle
Projects
Status: 🔖 Later
Development

No branches or pull requests

1 participant