RMNLIB

(INT1D1)

BASE


SUBROUTINE INT1D1 (FI, f, xi, x, FX, h, m, mi, cmu1, c1, clmdam, cm, a, c, d)


ARGUMENTS

OUT

IN


DESCRIPTION

Interpolates at arbitrary points from a function with arbitrarily spaced data, using cubic splines.

EXAMPLE

Number 1

NOTES

CMU1, C1, CLMDAM, CM  specify the end conditions for the spline.
        The recommended method is to specify the end point slopes,    
        which is done by setting CMU1=CLMDAM=0.0, and
        putting the desired slopes in C1 and CM. For other use,
        see the source code. Subroutines fd1 and fdm, and 
        functions d1 and dn are available to calculate end point 
        slopes. fd1 and fdm use the analytically differentiated 
        form of the cubic lagrange interpolating polynomial, and 
        may be used for generally spaced points. They are used as...
                   call fd1 (gd1,f,h)
                   call fdm (gdm,f,h,m)
        the derivatives are returned in gd1 or gdm. (f,h,m
        as before). The functions d1 and dn, (dn is an entry
        point in d1), are specialized to uniform spacing,
        and are used as ...      gd1 = d1(f,h,m)
                                 gdm = dn(f,h,m)

SEE ALSO

d1, d1int1, d1int2, d1intr, defvec, dn, fd1, fdm, int1d1, intrp, intrpr, spd

Return to RPN home page