mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2025-01-04 07:53:38 +01:00
25 lines
655 B
FortranFixed
25 lines
655 B
FortranFixed
|
*DECK PPGSF
|
||
|
FUNCTION PPGSF (X, IZ, C, A, BH)
|
||
|
C***BEGIN PROLOGUE PPGSF
|
||
|
C***SUBSIDIARY
|
||
|
C***PURPOSE Subsidiary to CBLKTR
|
||
|
C***LIBRARY SLATEC
|
||
|
C***TYPE SINGLE PRECISION (PPGSF-S)
|
||
|
C***AUTHOR (UNKNOWN)
|
||
|
C***SEE ALSO CBLKTR
|
||
|
C***ROUTINES CALLED (NONE)
|
||
|
C***REVISION HISTORY (YYMMDD)
|
||
|
C 801001 DATE WRITTEN
|
||
|
C 891214 Prologue converted to Version 4.0 format. (BAB)
|
||
|
C 900402 Added TYPE section. (WRB)
|
||
|
C***END PROLOGUE PPGSF
|
||
|
DIMENSION A(*) ,C(*) ,BH(*)
|
||
|
C***FIRST EXECUTABLE STATEMENT PPGSF
|
||
|
SUM = 0.
|
||
|
DO 101 J=1,IZ
|
||
|
SUM = SUM-1./(X-BH(J))**2
|
||
|
101 CONTINUE
|
||
|
PPGSF = SUM
|
||
|
RETURN
|
||
|
END
|