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