Static Public Member Functions | |
static int | calculateCoefficients (const T1 *x, const T2 *y, const unsigned int n, const unsigned int o, T3_ *c) |
calculate coefficients for resulting polynomial function. | |
static int | calculateValues (const T1 xs, const T1 xe, T2 *y, const unsigned int n, const unsigned int o, const T3_ *c) |
calculate y coordinates for the given range of x coordinates. | |
Static Private Member Functions | |
static void | convertValue (const T3_ input, Uint8 &output) |
helper routine: convert to unsigned 8 bit value | |
static void | convertValue (const T3_ input, Sint8 &output) |
helper routine: convert to signed 8 bit value | |
static void | convertValue (const T3_ input, Uint16 &output) |
helper routine: convert to unsigned 16 bit value | |
static void | convertValue (const T3_ input, Sint16 &output) |
helper routine: convert to signed 16 bit value | |
static void | convertValue (const T3_ input, double &output) |
helper routine: convert to floating point value (double precision) | |
static int | solve (T3_ *a, T3_ *b, const unsigned int n) |
solve the equation given by the two matrixes. |
Definition at line 59 of file dicrvfit.h.
|
calculate coefficients for resulting polynomial function. T1 = type of x coordinates T2 = type of y coordinates T3_ = type of coefficients (and for internal calculations)
Definition at line 77 of file dicrvfit.h. References DiCurveFitting< T1, T2 >::solve(). |
|
calculate y coordinates for the given range of x coordinates. The polynomial function is defined by the specified coefficients. T1 = type of x coordinates T2 = type of y coordinates T3_ = type of coefficients (and for internal calculations)
Definition at line 158 of file dicrvfit.h. References DiCurveFitting< T1, T2 >::convertValue(). |
|
helper routine: convert to floating point value (double precision)
Definition at line 250 of file dicrvfit.h. |
|
helper routine: convert to signed 16 bit value
Definition at line 238 of file dicrvfit.h. |
|
helper routine: convert to unsigned 16 bit value
Definition at line 226 of file dicrvfit.h. |
|
helper routine: convert to signed 8 bit value
Definition at line 214 of file dicrvfit.h. |
|
helper routine: convert to unsigned 8 bit value
Definition at line 202 of file dicrvfit.h. Referenced by DiCurveFitting< T1, T2 >::calculateValues(). |
|
solve the equation given by the two matrixes. T3_ = type of coefficients (and for internal calculations)
Definition at line 264 of file dicrvfit.h. Referenced by DiCurveFitting< T1, T2 >::calculateCoefficients(). |