Google
 

Trailing-Edge - PDP-10 Archives - decuslib20-02 - decus/20-0026/dfrat.doc
There are 2 other files named dfrat.doc in the archive. Click here to see a list.
SUBROUTINE DFRAT

PURPOSE
   DFRAT IS USED FOR HANDLING OF DATA AND FUNDAMENTAL FUNCTIONS
   WITH RATIONAL APPROXIMATION. IT IS A SUBSTANTIAL PART OF
   RATIONAL APPROXIMATION AND HAS NO MEANING INDEPENDENTLY

USAGE
   CALL DFRAT(I,N,M,P,DATI,WGT,IER)

DESCRIPTION OF PARAMETERS
   I	 - SUBSCRIPT OF CURRENT DATA POINT
   N	 - NUMBER OF ALL DATA POINTS
   M	 - NUMBER OF FUNDAMENTAL FUNCTIONS USED
   P	 - ARRAY OF DIMENSION M+1 AT LEAST, WHICH CONTAINS
	   ON RETURN THE VALUES OF THE M FUNDAMENTAL
	   FUNCTIONS, FOLLOWED BY CURRENT FUNCTION VALUE
	   P MUST BE OF DOUBLE PRECISION
   DATI  - ARRAY CONTAINING GIVEN N ARGUMENTS, FOLLOWED
	   BY N FUNCTION VALUES AND FINALLY BY 1 RESPECTIVELY
	   N WEIGHT VALUES
	   DATI MUST BE OF DOUBLE PRECISION
   WGT	 - RESULTANT WEIGHT FACTOR USED FOR I-TH TERM
	   WGT MUST BE OF DOUBLE PRECISION
   IER	 - RESULTANT ERROR PARAMETER, COMBINED WITH INPUT
	   VALUES FOR CONTROL
	   IER(2) MEANS DIMENSION OF NUMERATOR
	   IER(3) MEANS DIMENSION OF DENOMINATOR
	   IER(1) IS USED AS RESULTANT ERROR PARAMETER,
	   IER(1) = 0 IN CASE OF NO ERRORS
	   IER(1) = 1 OTHERWISE (ZERO DENOMINATOR)

REMARKS
   VECTOR IER IS USED FOR COMMUNICATION BETWEEN DARAT AND DFRAT

SUBROUTINES AND FUNCTION SUBPROGRAMS REQUIRED
   DCNP

METHOD
   CF. MATHEMATICAL DESCRIPTION OF SUBROUTINE ARAT