31 return (2 * alpha - 3) * alpha * alpha + 1;
37 double beta = 1 - alpha;
38 return alpha * beta * beta;
Helper class for calculation of splines of 3rd degree.
static double GetValueKernelAt(double alpha)
Get kernel of value normalized to range [0, 1].
static double GetDerivativeKernelAt(double alpha)
Get kernel of derivative normalized to range [0, 1].
Package with mathematical functions and algebraical primitives.