This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / MINICERN / mathlib / gen / f / eisst4.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1996/04/01 15:02:40  mclareni
6 * Mathlib gen
7 *
8 *
9 #include "gen/pilot.h"
10       SUBROUTINE EISST4(NM,N,AR,RLB,RUB,MM,M,WR,IERR,WORK)
11 C     SOME EIGENVALUES OF A REAL SYMMETRIC TRIDIAGONAL MATRIX
12 C
13       DIMENSION AR(NM,2),WR(MM),WORK(1)
14       WORK(1)=AR(1,2)
15       IF(N.LT.2) GO TO 150
16       DO 100 I=2,N
17       WORK(I)=AR(I,2)
18       WORK(N+I)=AR(I,1)
19   100 WORK(2*N+I)=AR(I,1)**2
20   150 EPS1=0.0
21       CALL BISECT(N,EPS1,WORK,WORK(N+1),WORK(2*N+1),RLB,RUB,MM,M,WR,
22      X WORK(5*N+1),IERR,WORK(3*N+1),WORK(4*N+1))
23       RETURN
24       END