-
Notifications
You must be signed in to change notification settings - Fork 55
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
Calculating the coefficients from values of X and Y. #519
Comments
Could you please elaborate? Do you need to interpolate a fourth-degree polynomial from points? Or you need to fit points with fourth degree polynomial? I think it is the second one because interpolation does not make a lot of sense with degree higher than 3. The fit example could be found here:
We can probably add a simplified polynomial fit as well since we have support for polynomials. |
@SPC-code I'm not a mathematician, so please be careful with my question. Thank you for your efforts, which I appreciate very much. |
@drindt I checked the code. Adding simplified support for polynomial functions will require some minor additions to polynomials API. I will do it later. Right now here is the example using current API: https://datalore.jetbrains.com/view/notebook/DDsWb8KgH71TgC7qsKDGs1. It requires some additional code to set up. You can call on |
Please feel free to start a discussion in #mathematics channel in Kotlin Slack. |
Dear community,
I'm kindly asking for an example of calculating coefficients of a 4th line polynomial.
Then I want to calculate the Y value I am looking for from the known X.
I am grateful for any help.
The text was updated successfully, but these errors were encountered: