DPCHQ5(3)

SYNOPSIS
SUBROUTINE DPCHQ5 (LUN, KPRINT, IPASS)

NAME
dpchq5 - Test the PCH to B-spline conversion routine DPCHBS.

LIBRARY
SLATEC (PCHIP)

TYPE
DOUBLE PRECISION (PCHQK5-S, DPCHQ5-D)

KEYWORDS
PCHIP CONVERSION ROUTINE QUICK CHECK

AUTHOR
Fritsch, F. N., (LLNL)

DESCRIPTION
DPCHIP QUICK CHECK NUMBER 5 TESTS THE CONVERSION ROUTINE: DPCHBS. *Usage: INTEGER LUN, KPRINT, IPASS CALL DPCHQ5 (LUN, KPRINT, IPASS) *Arguments: LUN :IN is the unit number to which output is to be written. KPRINT:IN controls the amount of output, as specified in the SLATEC Guidelines. IPASS:OUT will contain a pass/fail flag. IPASS=1 is good. IPASS=0 indicates one or more tests failed. *Description: This routine tests a constructed data set with four different KNOTYP settings. It computes the function and derivatives of the resulting B-representation via DBVALU and compares with PCH data. *Caution: This routine assumes DBVALU has already been successfully tested.

ROUTINES CALLED
DBVALU, DPCHBS, D1MACH

REVISION HISTORY (YYMMDD)
900411 DATE WRITTEN
900412 Corrected minor errors in initial implementation.
900430 Produced double precision version.
900501 Corrected declarations.
930317 Improved output formats. (FNF)