SPLINE(1G)SPLINE(1G)NAME
spline - interpolate smooth curve
SYNOPSIS
spline [ option ] ...
DESCRIPTION
Spline takes pairs of numbers from the standard input as abcissas and ordinates of a function. It produces a similar set, which is approx-
imately 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).
The following options are recognized, each as a separate argument.
-a 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.
-k The 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.
-n Space output points so that approximately n intervals occur between the lower and upper x limits. (Default n = 100.)
-p Make output periodic, i.e. match derivatives at ends. First and last input values should normally agree.
-x Next 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).
SEE ALSO graph(1)DIAGNOSTICS
When data is not strictly monotone in x, spline reproduces the input without interpolating extra points.
BUGS
A limit of 1000 input points is enforced silently.
SPLINE(1G)
Check Out this Related Man Page
spline(1) User Commands spline(1)NAME
spline - interpolate smooth curve
SYNOPSIS
spline [-aknpx] ...
DESCRIPTION
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 -a 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.
-k The 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.
-n Space output points so that approximately n intervals occur between the lower and upper x limits. (Default n = 100.)
-p Make output periodic, that is, match derivatives at ends. First and last input values should normally agree.
-x Next 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).
ATTRIBUTES
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.11 14 Sep 1992 spline(1)
I have two points which represent the start and end points of a line. I need to interpolate a number of points on the line between the two points.
Point 1:
x = 455989.0
y = 8673453.4
Point 2:
x = 283957.6
y = 8691250.1
The two points I have are coordinates given in UTM format. x... (3 Replies)
hello all,
am stuck with ?. how to compute limits of char, int, float. i have done it simply displaying values from <limits.h> but i wan to calculate it.. its absolutley not a homework.
thank you. (7 Replies)
Hi,
My requirement is I have an input file with a continuous series from 10000 to 99999. I have some numbers missing from those series. I want a output file which produces those missing numbers.
Eg: 10002, 99999 are missing from the series then the output file should contain those... (4 Replies)
Hi All,
how can i edit my original data and add more data if my 2nd script outputs SUCESS?
ex.
input file:
1.txt
nik,is,the
1script.sh
if 2ndscript.sh output SUCCESS then i'm going to edit my input file and add data best,pogi..
sample outputdata.
nik,is,the,best,pogi
2ndscript.sh... (3 Replies)
Hi Guys,
Need your urgent support please. I have a file with 3 separate strings separated by a comma and 2nd file which has a sentence where I can find these 3 strings. I need to find sentences which do not have these strings and maybe redirect it to a 3rd file.
All the 3 strings will occur... (3 Replies)