spline — Interpolate Smooth Curve

Synopsis

/usr/bin/spline [-aknpx]... 

Description

The spline command takes pairs of numbers from the standard input as abscissas and ordinates of a function. It produces a similar set, which is approximately equally spaced and includes the input set, to the standard output. The cubic spline output has two continuous derivatives, and sufficient points to look smooth when plotted, for example, by graph(1).

Options

-a Supply abscissas automatically (they are missing from the input); specify spacing by the next argument or assume it is 1 if the next argument is not a number.
-k Use the constant k in the boundary value computation (2nd derivative at end) = k*(2nd derivative next to end) is set by the next argument. ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.