1 SUBROUTINE RHO
(A
,LAMBDA
,X
,V
,PAR
,IPAR
)
2 DOUBLE PRECISION A
(*),LAMBDA
,X
(*),V
(*),PAR
(*)
5 C PAR(1:*) AND IPAR(1:*) ARE ARRAYS FOR (OPTIONAL) USER PARAMETERS,
6 C WHICH ARE SIMPLY PASSED THROUGH TO THE USER WRITTEN SUBROUTINES
9 C EVALUATE RHO(A,LAMBDA,X) AND RETURN IN THE VECTOR V .
11 C THE FOLLOWING CODE IS SPECIFICALLY FOR THE POLYNOMIAL SYSTEM DRIVER
12 C POLSYS , AND SHOULD BE USED VERBATUM WITH POLSYS . IF THE USER IS
13 C CALLING FIXP?? OR STEP?? DIRECTLY, HE MUST SUPPLY APPROPRIATE
14 C REPLACEMENT CODE HERE.
16 C FORCE PREDICTED POINT TO HAVE LAMBDA .GE. 0 .
17 IF (LAMBDA
.LT
. 0.0) LAMBDA
=0.0
18 CALL HFUNP
(A
,LAMBDA
,X
,PAR
,IPAR
)
21 V
(J
)=PAR
(IPAR
(3 + (4-1)) + (J
-1))