#include <cubic_spline.h>
Definition at line 44 of file cubic_spline.h.
Public Member Functions | |
CubicSpline () | |
void | create (const Matrix< T > &r_matrix) |
| |
Vector< T > | get_point (T parameter) |
T | get_distant_point_parameter (T parameter, T distance) |
Protected Types | |
typedef std::vector< Matrix< T > > | MatrixSet |
Protected Attributes | |
MatrixSet | coefficient_matrix_set |
Vector< T > | parameter_vector |
|
Definition at line 46 of file cubic_spline.h. |
|
Definition at line 66 of file cubic_spline.h. |
|
) each component is processed individually .) calculate the delta_t s: delta_t[0] = t[2] - t[0] delta_t[i] = t[i + 1] - t[i] | i >= 1 .. n .) calculate the ks: k[i] = (f[i] - f[i - 1]) / delta_t result matrix: 4 x (n - 1) 0: a = f 1: b 2: c 3: d 4: t input : a matrix, first row must be the t parameters output: is stored internally, for each component a matrix consisting of a, b, c and d is created the t parameter is stored seperately Definition at line 96 of file cubic_spline.h. |
|
Definition at line 219 of file cubic_spline.h. |
|
Definition at line 187 of file cubic_spline.h. |
|
Definition at line 49 of file cubic_spline.h. |
|
Definition at line 50 of file cubic_spline.h. |