# spline(1g) [ultrix man page]

spline(1g) spline(1g)Namespline - interpolate smooth curveSyntaxspline [option...]DescriptionThe command 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 has two continuous derivatives, and a sufficient number of points to look smooth when plotted.OptionsThe following options are recognized, each as a separate argument.Supplies abcissa automatically and uses specified number (next argument) for spacing. Default is 1.-aSets the boundary constant to the specified value (next argument). By default k = 0. For example, (2nd deriv. at end) = k*(2nd deriv. next to end)-kUses specified number (n) in calculating intervals between lower and upper limits. (Default n = 100.)-nPeriodically produces output (matches derivates at ends). First and last input values should normally agree.-pUses specified numbers (next arguments) as lower and upper limits. Normally these limits are calculated from the data. Automatic abcissas start at lower limit (default 0).-xRestrictionsA limit of 1000 input points is enforced silently.DiagnosticsWhen data is not strictly monotone in x, reproduces the input without interpolating extra points.See Alsograph(1g), plot(1g) spline(1g)

## Check Out this Related Man Page

spline(1) User Commands spline(1)NAME

spline - interpolate smooth curveSYNOPSIS

spline [] ...-aknpxDESCRIPTION

spline takes pairs of numbers from the standard input as abcissas and ordinates of a function. It produces a similar set, which is approxi- mately 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).OPTIONS

Supply abscissas automatically (they are missing from the input); spacing is given by the next argument, or is assumed to be 1 if next argument is not a number.-aThe constant k used in the boundary value computation (2nd deriv. at end) = k*(2nd deriv. next to end) is set by the next argument. By default k = 0.-kSpace output points so that approximately n intervals occur between the lower and upper x limits. (Default n = 100.)-nMake output periodic, that is, match derivatives at ends. First and last input values should normally agree.-pNext 1 (or 2) arguments are lower (and upper) x limits. Normally these limits are calculated from the data. Automatic abcissas start at lower limit (default 0).-xATTRIBUTES

See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWesu | +-----------------------------+-----------------------------+SEE ALSO

graph(1), attributes(5) R. W. Hamming, Numerical Methods for Scientists and Engineers, 2nd ed.DIAGNOSTICS

When data is not strictly monotonic in x, spline reproduces the input without interpolating extra points.BUGS

A limit of 1000 input points is enforced silently.SunOS 5.10 14 Sep 1992spline(1)