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

InterpolatingMap #2

Open
a-krawciw opened this issue Sep 22, 2020 · 0 comments
Open

InterpolatingMap #2

a-krawciw opened this issue Sep 22, 2020 · 0 comments

Comments

@a-krawciw
Copy link
Contributor

It would be convenient to store non linear data sets in a map type structure that could be interpolated between some input indices.

eg
Map contains

omega eta
10 0.8
20 0.6
30 0.1

eg calling map.get(15) -> 0.7
This would be useful when data is provided discretely but a simulation will come up with intermediate values.

Some kind of fancy interpolation Spline, Polynomial etc could be used instead but linear would be a fine start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant