-
Notifications
You must be signed in to change notification settings - Fork 52
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
Initial commit of POLYFIT / POLYFUNC #974
Conversation
Does POLYFIT need to be constrained to bucket indices ? |
A single-value mapper that uses POLYFIT can also be useful and make the code more readable than a macro or a MACROMAPPER. |
A function that makes a weighted polynomial fit, using a second input numerical GTS could be useful too (for instance to give more weight to more recent values). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functions are not added to WarpScriptLib
.
double value = this.func.value(((Number) top).doubleValue()); | ||
|
||
stack.push(value); | ||
} else if (!(top instanceof Number)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be simplified to else
.
No description provided.