Table of Contents

Name

funtab - Function Table lookup

Synopsis

funtab [parameter=value]

Description

funtab computes a function from a lookup table. You can choose the lookup method from a variety of methods (spline, linear, nearest neighbor).

Parameters

The following parameters are recognized in any order if the keyword is also given:
in=ascii_table
Input table with Y=f(X) No default.
xcol=col_number
Column for X values. [Default: 1]
ycol=col_number
Column for Y values. [Default: 2]
x=x1,x2...
X values to lookup. A nemoinp(1) expression can be used to specify multiple values. Default: none.
format=C-fmt
Output format in C format (printf(3) ) notation. [Default: %g]
mode=
Lookup mode (spline, linear, near). [Default: spline].

Author

Peter Teuben

See Also

spline(1)

Update History


06-Oct-93    V1.0 Created    PJT


Table of Contents