LAPACK 3.11.0
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches
zlctsx.f
Go to the documentation of this file.
1*> \brief \b ZLCTSX
2*
3* =========== DOCUMENTATION ===========
4*
5* Online html documentation available at
6* http://www.netlib.org/lapack/explore-html/
7*
8* Definition:
9* ===========
10*
11* LOGICAL FUNCTION ZLCTSX( ALPHA, BETA )
12*
13* .. Scalar Arguments ..
14* COMPLEX*16 ALPHA, BETA
15* ..
16*
17*
18*> \par Purpose:
19* =============
20*>
21*> \verbatim
22*>
23*> This function is used to determine what eigenvalues will be
24*> selected. If this is part of the test driver ZDRGSX, do not
25*> change the code UNLESS you are testing input examples and not
26*> using the built-in examples.
27*> \endverbatim
28*
29* Arguments:
30* ==========
31*
32*> \param[in] ALPHA
33*> \verbatim
34*> ALPHA is COMPLEX*16
35*> \endverbatim
36*>
37*> \param[in] BETA
38*> \verbatim
39*> BETA is COMPLEX*16
40*>
41*> parameters to decide whether the pair (ALPHA, BETA) is
42*> selected.
43*> \endverbatim
44*
45* Authors:
46* ========
47*
48*> \author Univ. of Tennessee
49*> \author Univ. of California Berkeley
50*> \author Univ. of Colorado Denver
51*> \author NAG Ltd.
52*
53*> \ingroup complex16_eig
54*
55* =====================================================================
56 LOGICAL FUNCTION zlctsx( ALPHA, BETA )
57*
58* -- LAPACK test routine --
59* -- LAPACK is a software package provided by Univ. of Tennessee, --
60* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
61*
62* .. Scalar Arguments ..
63 COMPLEX*16 alpha, beta
64* ..
65*
66* =====================================================================
67*
68* .. Parameters ..
69* DOUBLE PRECISION ZERO
70* PARAMETER ( ZERO = 0.0E+0 )
71* COMPLEX*16 CZERO
72* PARAMETER ( CZERO = ( 0.0E+0, 0.0E+0 ) )
73* ..
74* .. Scalars in Common ..
75 LOGICAL fs
76 INTEGER i, m, mplusn, n
77* ..
78* .. Common blocks ..
79 COMMON / mn / m, n, mplusn, i, fs
80* ..
81* .. Save statement ..
82 SAVE
83* ..
84* .. Executable Statements ..
85*
86 IF( fs ) THEN
87 i = i + 1
88 IF( i.LE.m ) THEN
89 zlctsx = .false.
90 ELSE
91 zlctsx = .true.
92 END IF
93 IF( i.EQ.mplusn ) THEN
94 fs = .false.
95 i = 0
96 END IF
97 ELSE
98 i = i + 1
99 IF( i.LE.n ) THEN
100 zlctsx = .true.
101 ELSE
102 zlctsx = .false.
103 END IF
104 IF( i.EQ.mplusn ) THEN
105 fs = .true.
106 i = 0
107 END IF
108 END IF
109*
110* IF( BETA.EQ.CZERO ) THEN
111* ZLCTSX = ( DBLE( ALPHA ).GT.ZERO )
112* ELSE
113* ZLCTSX = ( DBLE( ALPHA/BETA ).GT.ZERO )
114* END IF
115*
116 RETURN
117*
118* End of ZLCTSX
119*
120 END
logical function zlctsx(ALPHA, BETA)
ZLCTSX
Definition: zlctsx.f:57