PCHKT(3)

SYNOPSIS
SUBROUTINE PCHKT (N, X, KNOTYP, T)

NAME
pchkt - Compute B-spline knot sequence for PCHBS.

LIBRARY
SLATEC (PCHIP)

CATEGORY
E3

TYPE
SINGLE PRECISION (PCHKT-S, DPCHKT-D)

AUTHOR
Fritsch, F. N., (LLNL)

DESCRIPTION
Set a knot sequence for the B-spline representation of a PCH function with breakpoints X. All knots will be at least double. Endknots are set as: (1) quadruple knots at endpoints if KNOTYP=0; (2) extrapolate the length of end interval if KNOTYP=1; (3) periodic if KNOTYP=2. Input arguments: N, X, KNOTYP. Output arguments: T. Restrictions/assumptions: 1. N.GE.2 . (not checked) 2. X(i).LT.X(i+1), i=1,...,N . (not checked) 3. 0.LE.KNOTYP.LE.2 . (Acts like KNOTYP=0 for any other value.)

SEE ALSO
PCHBS

ROUTINES CALLED
(NONE)

REVISION HISTORY (YYMMDD)
870701 DATE WRITTEN
900405 Converted Fortran to upper case.
900410 Converted prologue to SLATEC 4.0 format.
900410 Minor cosmetic changes.
930514 Changed NKNOTS from an output to an input variable. (FNF)
930604 Removed unused variable NKNOTS from argument list. (FNF)