CPEVL(3)

SYNOPSIS
SUBROUTINE CPEVL (N, M, A, Z, C, B, KBD)

NAME
cpevl - Subsidiary to CPZERO

LIBRARY
SLATEC

TYPE
SINGLE PRECISION (CPEVL-S)

AUTHOR
(UNKNOWN)

DESCRIPTION
Evaluate a complex polynomial and its derivatives. Optionally compute error bounds for these values. INPUT... N = Degree of the polynomial M = Number of derivatives to be calculated, M=0 evaluates only the function M=1 evaluates the function and first derivative, etc. if M .GT. N+1 function and all N derivatives will be calculated. A = Complex vector containing the N+1 coefficients of polynomial A(I)= coefficient of Z**(N+1-I) Z = Complex point at which the evaluation is to take place. C = Array of 2(M+1) words into which values are placed. B = Array of 2(M+1) words only needed if bounds are to be calculated. It is not used otherwise. KBD = A logical variable, e.g. .TRUE. or .FALSE. which is to be set .TRUE. if bounds are to be computed. OUTPUT... C = C(I+1) contains the complex value of the I-th derivative at Z, I=0,...,M B = B(I) contains the bounds on the real and imaginary parts of C(I) if they were requested.

SEE ALSO
CPZERO

ROUTINES CALLED
I1MACH

REVISION HISTORY (YYMMDD)
810223 DATE WRITTEN
890531 Changed all specific intrinsics to generic. (WRB)
890831 Modified array declarations. (WRB)
891214 Prologue converted to Version 4.0 format. (BAB)
900402 Added TYPE section. (WRB)