spline - interpolate smooth curve
spline [-aknpx] ...
spline takes pairs of numbers from the standard input as abcissas and ordinates of a function. It produces a similar set, which is approximately equally spaced and includes the input set, on the standard output. The cubic spline output (R. W. Hamming, Numerical Methods for Scientists and Engineers,2nd ed., 349ff) has two continuous derivatives, and sufficiently many points to look smooth when plotted, for example by graph(1).
(2nd deriv. at end) = k*(2nd deriv. next to end)
is set by the next argument. By default k = 0.
See attributes(5) for descriptions of the following attributes:
R. W. Hamming, Numerical Methods for Scientists and Engineers, 2nd ed.
When data is not strictly monotonic in x, spline reproduces the input without interpolating extra points.
A limit of 1000 input points is enforced silently.
Закладки на сайте
Проследить за страницей
Created 1996-2023 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру