| 1 |
Splines -- version 0.2a |
| 2 |
|
| 3 |
This package consists of a few macros useful for producing cubic splines |
| 4 |
in MetaPost (or Metafont). |
| 5 |
|
| 6 |
Given a sequence of N+1 points, a spline is a path $z = f(t)$, $0 \le t |
| 7 |
\le N$, connecting them, which is a cubic function of $t$ between |
| 8 |
points, and has continuous first and second derivatives. |
| 9 |
|
| 10 |
Such a spline is two dimensional and can wander about anywhere in the |
| 11 |
picture plane. Another type of spline is one dimensional: given a |
| 12 |
sequence of $N$ locations $x_0 < x_1 < \dots < x_N$ on the $x$-axis and |
| 13 |
corresponding values $y_j$, a cubic spline interpolant is a function $y |
| 14 |
= f(x)$ satisfying $f(x_j) = y_j$, which is cubic between the $x_j$ and |
| 15 |
which has continuous first and second derivatives. |
| 16 |
|
| 17 |
With these macros one can draw two-dimensional cubic splines and the |
| 18 |
graphs of cubic spline interpolants. |
| 19 |
|
| 20 |
The files of this package consist of: |
| 21 |
splines.dtx The documented source code. |
| 22 |
splines.ins LaTeX this to produce the file splines.mp. |
| 23 |
splines.pdf The documentation. |
| 24 |
testsplines.mp Uses the macros to produce a few splines. |
| 25 |
README The file you are reading |
| 26 |
|
| 27 |
The files of this package are Copyright 2002--2005, Daniel H. Luecking |
| 28 |
|
| 29 |
Splines.mp may be distributed and/or modified under the conditions of |
| 30 |
the LaTeX Project Public License, either version 1.3 of this license or |
| 31 |
(at your option) any later version. The latest version of this license |
| 32 |
is in |
| 33 |
<http://www.latex-project.org/lppl.txt> |
| 34 |
and version 1.3 or later is part of all distributions of LaTeX version |
| 35 |
2003/12/01 or later. |
| 36 |
|
| 37 |
Splines has maintenance status "author-maintained". The Current |
| 38 |
Maintainer is Daniel H. Luecking. The Base Interpreter is MetaPost |
| 39 |
(or Metafont). |
| 40 |
|
| 41 |
You may email problem reports to luecking {at} uark {dot} edu. |
| 42 |
|
| 43 |
-- |
| 44 |
Dan Luecking |