1 SUBROUTINE VMONDE
( RHO
, COEF
, K
)
3 C**********************************************************************
6 C solve vandermonde system v * x = e
7 C with v(i,j) = rho(j)**(i-1)/(i-1)! .
9 C**********************************************************************
11 INTEGER K
, I
,IFAC
,J
,KM1
,KMI
12 DOUBLE PRECISION RHO
(K
), COEF
(K
)
14 IF ( K
.EQ
. 1 ) RETURN
19 COEF
(J
) = (COEF
(J
+1) - COEF
(J
)) / (RHO
(J
+I
) - RHO
(J
))
26 30 COEF
(J
) = COEF
(J
) - RHO
(J
+I
-1) * COEF
(J
-1)
27 COEF
(KMI
) = DFLOAT
(IFAC
) * COEF
(KMI
)
30 COEF
(1) = DFLOAT
(IFAC
) * COEF
(1)