Add intro and pdf for lognormal
[maxima.git] / share / colnew / fortran / appsln.f
blob7edb726c421a18ad3cc41fe4091cd9658686d7ef
2 C----------------------------------------------------------------------
3 C p a r t 4
4 C polynomial and service routines
5 C----------------------------------------------------------------------
7 SUBROUTINE APPSLN (X, Z, FSPACE, ISPACE)
9 C*****************************************************************
11 C purpose
13 C set up a standard call to approx to evaluate the
14 C approximate solution z = z( u(x) ) at a point x
15 C (it has been computed by a call to colnew ).
16 C the parameters needed for approx are retrieved
17 C from the work arrays ispace and fspace .
19 C*****************************************************************
21 IMPLICIT REAL*8 (A-H,O-Z)
22 DIMENSION Z(1), FSPACE(1), ISPACE(1), A(28), DUMMY(1)
23 IS6 = ISPACE(6)
24 IS5 = ISPACE(1) + 2
25 IS4 = IS5 + ISPACE(4) * (ISPACE(1) + 1)
26 I = 1
27 CALL APPROX (I, X, Z, A, FSPACE(IS6), FSPACE(1), ISPACE(1),
28 1 FSPACE(IS5), FSPACE(IS4), ISPACE(2), ISPACE(3),
29 2 ISPACE(5), ISPACE(8), ISPACE(4), 2, DUMMY, 0)
30 RETURN
31 END