Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

spline(1g) [v7 man page]

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(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(1G). 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(1G), plot(1G) 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. 7th Edition April 29, 1985 SPLINE(1G)
Man Page

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Interpolating on a line between to points

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)
Discussion started by: mattings
3 Replies

2. Programming

Compute upper and lower limit of data types.

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)
Discussion started by: zius_oram
7 Replies

3. UNIX for Dummies Questions & Answers

To find missing numbers from a number series

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)
Discussion started by: rakeshbharadwaj
4 Replies

4. Shell Programming and Scripting

adding data in input file if 2nd script output SUCCESS

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)
Discussion started by: nikki1200
3 Replies

5. Shell Programming and Scripting

How to search 2 separate patterns from a 2nd file.?

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)
Discussion started by: danish0909
3 Replies