Trailing-Edge
-
PDP-10 Archives
-
decuslib20-02
-
decus/20-0026/pval.doc
There are 2 other files named pval.doc in the archive. Click here to see a list.
SUBROUTINE PVAL
PURPOSE
EVALUATE A POLYNOMIAL FOR A GIVEN VALUE OF THE VARIABLE
USAGE
CALL PVAL(RES,ARG,X,IDIMX)
DESCRIPTION OF PARAMETERS
RES - RESULTANT VALUE OF POLYNOMIAL
ARG - GIVEN VALUE OF THE VARIABLE
X - VECTOR OF COEFFICIENTS, ORDERED FROM SMALLEST TO
LARGEST POWER
IDIMX - DIMENSION OF X
REMARKS
NONE
SUBROUTINES AND FUNCTION SUBPROGRAMS REQUIRED
NONE
METHOD
EVALUATION IS DONE BY MEANS OF NESTED MULTIPLICATION