B2#

class splinebox.basis_functions.B2#

Basis spline of degree 2.

\[\begin{split}f(t) = \begin{cases}\frac{t^2}{2} + \frac{3}{2} t + \frac{9}{8} & \text{for } -\frac{3}{2} \leq t \leq -\frac{1}{2} \\ -t^2 + \frac{3}{4} & \text{for } -\frac{1}{2} < t \leq \frac{1}{2} \\ \frac{1}{2} t^2 - \frac{3}{2} t + \frac{9}{8} & \text{for } \frac{1}{2} < t \leq \frac{3}{2} \\ 0 & \text{otherwise}\end{cases}\end{split}\]
../_images/plot_b2.png