Spline (mathematics) - Examples

Examples

A simple example of a quadratic spline (a spline of degree 2) is


S(t) = \begin{cases}
(t+1)^2-1 & -2 \le t < 0\\
1-(t-1)^2 & 0 \le t \le 2
\end{cases}

for which .

A simple example of a cubic spline is

as


S(t) = \begin{cases}
t^3 & t \ge 0\\
-t^3 & t < 0
\end{cases}

and

An example of using a cubic spline to create a bell shaped curve is the Irwin-Hall polynomials:


f_X(x)= \begin{cases}
\frac{1}{4}(x+2)^3 & -2\le x \le -1\\
\frac{1}{4}\left(3|x|^3 - 6x^2 +4 \right)& -1\le x \le 1\\
\frac{1}{4}(2-x)^3 & 1\le x \le 2
\end{cases}

Read more about this topic:  Spline (mathematics)

Famous quotes containing the word examples:

    Histories are more full of examples of the fidelity of dogs than of friends.
    Alexander Pope (1688–1744)

    There are many examples of women that have excelled in learning, and even in war, but this is no reason we should bring ‘em all up to Latin and Greek or else military discipline, instead of needle-work and housewifry.
    Bernard Mandeville (1670–1733)

    No rules exist, and examples are simply life-savers answering the appeals of rules making vain attempts to exist.
    André Breton (1896–1966)