Improve the translation of notequal
[maxima.git] / share / hompack / fortran / mfacds.f
blobd302969cd8e5be8509fa97caa028e6ceaa718fa5
1 SUBROUTINE MFACDS(NN,Q,LENAA,MAXA)
3 C SETS UP Q AS THE FACTORIZATION OF THE ENTIRE
4 C (NN+1) X (NN+1) MATRIX M.
6 C on input:
7 C
8 C NN is the dimension of the symmetric matrix AA, the upper left corner
9 C of the augmented Jacobian matrix B.
11 C Q contains AA in its first LENAA positions.
13 C LENAA is the length of the one dimensional packed array AA.
15 C MAXA is the integer array used for packed skyline storage. It describes
16 C AA and M, the symmetric piece of B.
18 C on output:
20 C NN, LENAA, and MAXA are unchanged.
22 C Q contains an approximate factorization of M, in packed skyline storage
23 C form.
26 C Calls GMFADS .
28 INTEGER I,IMAX,LENAA,LENQ,NN,MAXA(NN+2),NQ
29 DOUBLE PRECISION Q(LENAA+NN+1)
31 NQ=NN+1
32 IMAX=MAXA(NN+2)-LENAA-2
33 LENQ=MAXA(NN+2)-1
35 DO 100 I=1,IMAX,1
36 Q(LENAA+I)=0.0
37 100 CONTINUE
38 Q(LENQ)=1.0D0
40 CALL GMFADS(NQ,Q,LENQ,MAXA)
42 RETURN
43 END