-
-
Notifications
You must be signed in to change notification settings - Fork 43
Polynomial
The Polynomial class provides utilities to manipulate polynomial functions using their coefficients.
For example, in the polynomial function
Also, there is an use-case of computing the polynomial function given the
This class provides access ot methods which can compute these.
Given the X-coordinates =
double[] x = {0.0, 1.0, 2.0, 3.0, 4.0, 5.0};
double[] y = {0.0, 0.8, 0.9, 0.1, -0.8, -1.0};
int degree = 3;
double[] out = Polynomial.polyfit(x, y, degree);
Given a polynomial function, evaluate it at given X-coordinates.
double[] coeffs = {3.0, 0.0, 1.0};
double[] x = {5.0, 3.2, 1.2};
double[] out = Polynomial.polyval(coeffs, x);
For the polynomial function
Given a polynomial function, calculate its derivative.
double[] coeffs = {6, 3, 1, 1};
int deriv_order = 2;
double[] out = Polynomial.polyder(coeffs, deriv_order);
For the polynomial function
Given a polynomial function, calculate its anti-derivative.
double[] coeffs = {140, 390, 80, 110};
double[] constants = {17, 34};
int anti_deriv_order = 2;
double[] out = Polynomial.polyint(coeffs, deriv_order, constants);
For the polynomial function
Wiki
-
Filters
- IIR Filters
- FIR Filters
- Kernel-Based Filter
- Adaptive Filters
-
Signals
-
Peak Detection
-
Transformations
-
Speech
-
Windowing