qwgtc.f 985 B

123456789101112131415161718192021222324252627282930
  1. *DECK QWGTC
  2. REAL FUNCTION QWGTC (X, C, P2, P3, P4, KP)
  3. C***BEGIN PROLOGUE QWGTC
  4. C***SUBSIDIARY
  5. C***PURPOSE This function subprogram is used together with the
  6. C routine QAWC and defines the WEIGHT function.
  7. C***LIBRARY SLATEC
  8. C***TYPE SINGLE PRECISION (QWGTC-S, DQWGTC-D)
  9. C***KEYWORDS CAUCHY PRINCIPAL VALUE, WEIGHT FUNCTION
  10. C***AUTHOR Piessens, Robert
  11. C Applied Mathematics and Programming Division
  12. C K. U. Leuven
  13. C de Doncker, Elise
  14. C Applied Mathematics and Programming Division
  15. C K. U. Leuven
  16. C***SEE ALSO QK15W
  17. C***ROUTINES CALLED (NONE)
  18. C***REVISION HISTORY (YYMMDD)
  19. C 810101 DATE WRITTEN
  20. C 830518 REVISION DATE from Version 3.2
  21. C 891214 Prologue converted to Version 4.0 format. (BAB)
  22. C 900328 Added TYPE section. (WRB)
  23. C***END PROLOGUE QWGTC
  24. C
  25. REAL C,P2,P3,P4,X
  26. INTEGER KP
  27. C***FIRST EXECUTABLE STATEMENT QWGTC
  28. QWGTC = 0.1E+01/(X-C)
  29. RETURN
  30. END