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:

    In the examples that I here bring in of what I have [read], heard, done or said, I have refrained from daring to alter even the smallest and most indifferent circumstances. My conscience falsifies not an iota; for my knowledge I cannot answer.
    Michel de Montaigne (1533–1592)

    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)

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