PCHQK5(3)

SYNOPSIS
SUBROUTINE PCHQK5 (LUN, KPRINT, IPASS)

NAME
pchqk5 - Test the PCH to B-spline conversion routine PCHBS.

LIBRARY
SLATEC (PCHIP)

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

KEYWORDS
PCHIP CONVERSION ROUTINE QUICK CHECK

AUTHOR
Fritsch, F. N., (LLNL)

DESCRIPTION
PCHIP QUICK CHECK NUMBER 5 TESTS THE CONVERSION ROUTINE: PCHBS. *Usage: INTEGER LUN, KPRINT, IPASS CALL PCHQK5 (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 BVALU and compares with PCH data. *Caution: This routine assumes BVALU has already been successfully tested.

ROUTINES CALLED
BVALU, PCHBS, R1MACH

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