#include <cubicpiecewisefunction.h>

Classes | |
| struct | LocalCoordination |
| struct | PieceweisePolynomial |
Static Public Member Functions | |
| static void | BreaksGenerator (double *Userbreaks, int UserbreaksLength, double start, double resolution) |
| static std::vector< double > | BreaksGenerator (double start, double end, int NumberOfPoints) |
| static void | BreaksGeneratorExp (double *Userbreaks, int NumOfPoints, double start, double end) |
| static void | smoothingSpline (PieceweisePolynomial *pp, double *input_x, double *input_y, double *input_w, int inputLength, double smoothingFactor) |
| static void | fit (PieceweisePolynomial *pp, double *input_x, double *input_y, double *input_w, int inputLength, double smoothingFactor) |
| static LocalCoordination | localCoordination (double *Userbreaks, int UserbreaksLength, PieceweisePolynomial &pp) |
| static void | CubicSplineEvaluation (double *interpolatedSpline, double *d_interpolatedSpline, double *dd_interpolatedSpline, double *ddd_interpolatedSpline, double *Userbreaks, int UserbreaksLength, PieceweisePolynomial &pp) |
| static void | CubicSplineEvaluation (double *interpolatedSpline, double *d_interpolatedSpline, double *dd_interpolatedSpline, double *Userbreaks, int UserbreaksLength, PieceweisePolynomial &pp) |
| static void | CubicSplineEvaluation (double *interpolatedSpline, double *d_interpolatedSpline, double *Userbreaks, int UserbreaksLength, PieceweisePolynomial &pp) |
| static void | CubicSplineEvaluation (double *interpolatedSpline, double *Userbreaks, int UserbreaksLength, PieceweisePolynomial &pp) |
| static void | toPolynomialFrom (PieceweisePolynomial *pp, double *input_breaks, double *input_coef1, double *input_coef2, double *input_coef3, double *input_coef4, int inputLength) |
| static int | findIndex (double point, PieceweisePolynomial &pp) |
| static double | splineEvaluation (int index, double point, PieceweisePolynomial &pp) |
| static void | deleteCubicSplinepp (PieceweisePolynomial &pp) |
| static void | deleteCubicSplinepp1 (PieceweisePolynomial *pp) |
Static Private Member Functions | |
| static void | repeatedValueInterpolation (double *output_x, double *output_y, double *output_weight, int *outputLength, double *input_x, double *input_y, double *input_weight, int inputLength) |
This class creates smoothend cubic piecewise polynomial https://wiki.dlr.de/confluence/display/fau/How+to+use+Fit+function
|
static |
generates the break points from a starting point with a given resolution
| Userbreaks | is the generated breaks (output) |
| UserbreaksLength | is the size of Userbreaks (input) |
| start | is the first break value (input) |
| resolution | is the breaks resolution (input) |

|
static |
generates the break points from a starting point to an end point
| start | is the first break value (input) |
| end | is the last break value (input) |
| NumberOfPoints | is the number of breaks |
|
static |
generates the break points from a starting point to an end point with exponential resolution
| Userbreaks | is the generated breaks (output) |
| NumberOfPoints | is the number of breaks |
| start | is the first break value (input) |
| end | is the last break value (input) |

|
static |
evaluates the cubic piecewise polynomial and its first, second and third derivative for a given breaks
| interpolatedSpline | is the interpolation result |
| d_interpolatedSpline | is the first derivative of interpolation result |
| dd_interpolatedSpline | is the second derivative of interpolation result |
| ddd_interpolatedSpline | is the third derivative of interpolation result |
| Userbreaks | is the given breaks |
| UserbreaksLength | is the size of Userbreaks |
| pp | is the structure containing the piecewise polynomial (breaks, coef_1, coef_2, coef_3, coef_4) |

|
static |
evaluates the cubic piecewise polynomial and its first and second derivative for a given breaks
| interpolatedSpline | is the interpolation result |
| d_interpolatedSpline | is the first derivative of interpolation result |
| dd_interpolatedSpline | is the second derivative of interpolation result |
| Userbreaks | is the given breaks |
| UserbreaksLength | is the size of Userbreaks |
| pp | is the structure containing the piecewise polynomial (breaks, coef_1, coef_2, coef_3, coef_4) |

|
static |
evaluates the cubic piecewise polynomial and its first derivative for a given breaks
| interpolatedSpline | is the interpolation result |
| d_interpolatedSpline | is the first derivative of interpolation result |
| Userbreaks | is the given breaks |
| UserbreaksLength | is the size of Userbreaks |
| pp | is the structure containing the piecewise polynomial (breaks, coef_1, coef_2, coef_3, coef_4) |

|
static |
evaluates the cubic piecewise polynomial for a given breaks
| interpolatedSpline | is the interpolation result |
| Userbreaks | is the given breaks |
| UserbreaksLength | is the size of Userbreaks |
| pp | is the structure containing the piecewise polynomial (breaks, coef_1, coef_2, coef_3, coef_4) |

|
static |
delete a piecewise polynomial structure
| pp | is the structure containing the piecewise polynomial (breaks, coef_1, coef_2, coef_3, coef_4) |
|
static |
delete a piecewise polynomial structure
| pp | is the structure containing the piecewise polynomial (breaks, coef_1, coef_2, coef_3, coef_4) |
|
static |
returns the index of a point witin breaks of a cubic peicewise polynomial
| point | is the given point |
| pp | is the structure containing the piecewise polynomial (breaks, coef_1, coef_2, coef_3, coef_4) |
|
static |
generates smoothend cubinc piecewise polynomial of a data
| pp | is the structure containing the piecewise polynomial (breaks, coef_1, coef_2, coef_3, coef_4) |
| input_x | is data vector (x_axis) |
| input_y | is data vector (y_axis) |
| input_w | is the weight of data [0, 1] |
| inputLength | is the input size |
| smoothingFactor | is the smoothing factor [0 , 1] |


|
static |
matches the given breaks to the polynomial breaks
| Userbreaks | is the given breaks |
| UserbreaksLength | is the size of Userbreaks |
| pp | is the structure containing the piecewise polynomial (breaks, coef_1, coef_2, coef_3, coef_4) |

|
inlinestaticprivate |


|
static |
generates smoothend cubinc piecewise polynomial of a data
| pp | is the structure containing the piecewise polynomial (breaks, coef_1, coef_2, coef_3, coef_4) |
| input_x | is data vector (x_axis) |
| input_y | is data vector (y_axis) |
| input_w | is the weight of data [0, 1] |
| inputLength | is the input size |
| smoothingFactor | is the smoothing factor [0 , 1] |
dx from 1 to N-2 (Dx_i-1)


|
static |
evaluate a cubic piecewise polynomial at a given point
| index | is the index of a given point |
| point | is the given point |
| pp | is the structure containing the piecewise polynomial (breaks, coef_1, coef_2, coef_3, coef_4) |
|
static |
makes the piecewise polynomial
| pp | is the structure containing the piecewise polynomial (breaks, coef_1, coef_2, coef_3, coef_4) |
| input_breaks | is the given breaks |
| input_coef1 | is the given coef_1 |
| input_coef2 | is the given coef_2 |
| input_coef3 | is the given coef_3 |
| input_coef4 | is the given coef_4 |
| inputLength | is the size of the inputs |
