Debian Codegraph @

Modules/ThirdParty/VNL/src/vxl/v3p/netlib/lapack/double/dtgsen.c

raw symbols SCIP
1 /* lapack/double/dtgsen.f -- translated by f2c (version 20050501).
2 You must link the resulting object file with libf2c:
3 on Microsoft Windows system, link with libf2c.lib;
4 on Linux or Unix systems, link with .../path/to/libf2c.a -lm
5 or, if you install libf2c.a in a standard place, with -lf2c -lm
6 -- in that order, at the end of the command line, as in
7 cc *.o -lf2c -lm
8 Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
9
10 http://www.netlib.org/f2c/libf2c.zip
11 */
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 #include "v3p_netlib.h"cxx . . $ `<file>/Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib.h`/
17
18 /* Table of constant values */
19
20 static integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! c__1cxx . . $ c__1. = 1;
21 static integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! c__2cxx . . $ c__2. = 2;
22 static doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! c_b28cxx . . $ c_b28. = 1.;
23
24 /*< >*/
25 /* Subroutine */ int dtgsen_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:149:9`!(integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *ijob, logicalcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:65:9`! *wantq, logicalcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:65:9`! *wantz,
26 logicalcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:65:9`! *select, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *n, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *a, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *lda, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *
27 b, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *ldb, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *alphar, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *alphai, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *
28 beta, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *q, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *ldq, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *z__, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *ldz,
29 integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *m, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *pl, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *pr, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *dif,
30 doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *work, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *lwork, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *iwork, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *liwork,
31 integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *info)
32 {
33 /* System generated locals */
34 integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! a_dim1, a_offset, b_dim1, b_offset, q_dim1, q_offset, z_dim1,
35 z_offset, i__1, i__2;
36 doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! d__1;
37
38 /* Builtin functions */
39 double sqrtcxx . . $ sqrt(447c67c6676f75c3).(doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`!), d_signcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:14:9`!(doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *);
40
41 /* Local variables */
42 integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! i__, k, n1, n2, kk, ks, mn2, ijb;
43 doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! eps;
44 integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! kase;
45 logicalcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:65:9`! pair;
46 integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! ierr;
47 doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! dsum;
48 logicalcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:65:9`! swap;
49 extern /* Subroutine */ int dlag2_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:73:9`!(doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *,
50 integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *,
51 doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *);
52 logicalcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:65:9`! wantd;
53 integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! lwmin;
54 logicalcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:65:9`! wantp, wantd1, wantd2;
55 extern doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! dlamch_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:81:9`!(char *, ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!);
56 doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! dscale;
57 extern /* Subroutine */ int dlacon_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:67:9`!(integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *,
58 integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *);
59 doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! rdscal;
60 extern /* Subroutine */ int dlacpy_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:68:9`!(char *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *,
61 doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!),
62 xerbla_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:303:9`!(char *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!), dtgexc_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:148:9`!(logicalcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:65:9`! *, logicalcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:65:9`! *,
63 integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *,
64 doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *,
65 integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *), dlassq_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:99:9`!(integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *,
66 doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *);
67 integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! liwmin;
68 extern /* Subroutine */ int dtgsyl_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:151:9`!(char *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`!
69 *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *,
70 integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *,
71 doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *, doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! *,
72 integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, integercxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:63:9`! *, ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!);
73 doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`! smlnum;
74 logicalcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:65:9`! lquery;
75
76
77 /* -- LAPACK routine (version 3.0) -- */
78 /* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., */
79 /* Courant Institute, Argonne National Lab, and Rice University */
80 /* June 30, 1999 */
81
82 /* .. Scalar Arguments .. */
83 /*< LOGICAL WANTQ, WANTZ >*/
84 /*< >*/
85 /*< DOUBLE PRECISION PL, PR >*/
86 /* .. */
87 /* .. Array Arguments .. */
88 /*< LOGICAL SELECT( * ) >*/
89 /*< INTEGER IWORK( * ) >*/
90 /*< >*/
91 /* .. */
92
93 /* Purpose */
94 /* ======= */
95
96 /* DTGSEN reorders the generalized real Schur decomposition of a real */
97 /* matrix pair (A, B) (in terms of an orthonormal equivalence trans- */
98 /* formation Q' * (A, B) * Z), so that a selected cluster of eigenvalues */
99 /* appears in the leading diagonal blocks of the upper quasi-triangular */
100 /* matrix A and the upper triangular B. The leading columns of Q and */
101 /* Z form orthonormal bases of the corresponding left and right eigen- */
102 /* spaces (deflating subspaces). (A, B) must be in generalized real */
103 /* Schur canonical form (as returned by DGGES), i.e. A is block upper */
104 /* triangular with 1-by-1 and 2-by-2 diagonal blocks. B is upper */
105 /* triangular. */
106
107 /* DTGSEN also computes the generalized eigenvalues */
108
109 /* w(j) = (ALPHAR(j) + i*ALPHAI(j))/BETA(j) */
110
111 /* of the reordered matrix pair (A, B). */
112
113 /* Optionally, DTGSEN computes the estimates of reciprocal condition */
114 /* numbers for eigenvalues and eigenspaces. These are Difu[(A11,B11), */
115 /* (A22,B22)] and Difl[(A11,B11), (A22,B22)], i.e. the separation(s) */
116 /* between the matrix pairs (A11, B11) and (A22,B22) that correspond to */
117 /* the selected cluster and the eigenvalues outside the cluster, resp., */
118 /* and norms of "projections" onto left and right eigenspaces w.r.t. */
119 /* the selected cluster in the (1,1)-block. */
120
121 /* Arguments */
122 /* ========= */
123
124 /* IJOB (input) INTEGER */
125 /* Specifies whether condition numbers are required for the */
126 /* cluster of eigenvalues (PL and PR) or the deflating subspaces */
127 /* (Difu and Difl): */
128 /* =0: Only reorder w.r.t. SELECT. No extras. */
129 /* =1: Reciprocal of norms of "projections" onto left and right */
130 /* eigenspaces w.r.t. the selected cluster (PL and PR). */
131 /* =2: Upper bounds on Difu and Difl. F-norm-based estimate */
132 /* (DIF(1:2)). */
133 /* =3: Estimate of Difu and Difl. 1-norm-based estimate */
134 /* (DIF(1:2)). */
135 /* About 5 times as expensive as IJOB = 2. */
136 /* =4: Compute PL, PR and DIF (i.e. 0, 1 and 2 above): Economic */
137 /* version to get it all. */
138 /* =5: Compute PL, PR and DIF (i.e. 0, 1 and 3 above) */
139
140 /* WANTQ (input) LOGICAL */
141 /* .TRUE. : update the left transformation matrix Q; */
142 /* .FALSE.: do not update Q. */
143
144 /* WANTZ (input) LOGICAL */
145 /* .TRUE. : update the right transformation matrix Z; */
146 /* .FALSE.: do not update Z. */
147
148 /* SELECT (input) LOGICAL array, dimension (N) */
149 /* SELECT specifies the eigenvalues in the selected cluster. */
150 /* To select a real eigenvalue w(j), SELECT(j) must be set to */
151 /* .TRUE.. To select a complex conjugate pair of eigenvalues */
152 /* w(j) and w(j+1), corresponding to a 2-by-2 diagonal block, */
153 /* either SELECT(j) or SELECT(j+1) or both must be set to */
154 /* .TRUE.; a complex conjugate pair of eigenvalues must be */
155 /* either both included in the cluster or both excluded. */
156
157 /* N (input) INTEGER */
158 /* The order of the matrices A and B. N >= 0. */
159
160 /* A (input/output) DOUBLE PRECISION array, dimension(LDA,N) */
161 /* On entry, the upper quasi-triangular matrix A, with (A, B) in */
162 /* generalized real Schur canonical form. */
163 /* On exit, A is overwritten by the reordered matrix A. */
164
165 /* LDA (input) INTEGER */
166 /* The leading dimension of the array A. LDA >= max(1,N). */
167
168 /* B (input/output) DOUBLE PRECISION array, dimension(LDB,N) */
169 /* On entry, the upper triangular matrix B, with (A, B) in */
170 /* generalized real Schur canonical form. */
171 /* On exit, B is overwritten by the reordered matrix B. */
172
173 /* LDB (input) INTEGER */
174 /* The leading dimension of the array B. LDB >= max(1,N). */
175
176 /* ALPHAR (output) DOUBLE PRECISION array, dimension (N) */
177 /* ALPHAI (output) DOUBLE PRECISION array, dimension (N) */
178 /* BETA (output) DOUBLE PRECISION array, dimension (N) */
179 /* On exit, (ALPHAR(j) + ALPHAI(j)*i)/BETA(j), j=1,...,N, will */
180 /* be the generalized eigenvalues. ALPHAR(j) + ALPHAI(j)*i */
181 /* and BETA(j),j=1,...,N are the diagonals of the complex Schur */
182 /* form (S,T) that would result if the 2-by-2 diagonal blocks of */
183 /* the real generalized Schur form of (A,B) were further reduced */
184 /* to triangular form using complex unitary transformations. */
185 /* If ALPHAI(j) is zero, then the j-th eigenvalue is real; if */
186 /* positive, then the j-th and (j+1)-st eigenvalues are a */
187 /* complex conjugate pair, with ALPHAI(j+1) negative. */
188
189 /* Q (input/output) DOUBLE PRECISION array, dimension (LDQ,N) */
190 /* On entry, if WANTQ = .TRUE., Q is an N-by-N matrix. */
191 /* On exit, Q has been postmultiplied by the left orthogonal */
192 /* transformation matrix which reorder (A, B); The leading M */
193 /* columns of Q form orthonormal bases for the specified pair of */
194 /* left eigenspaces (deflating subspaces). */
195 /* If WANTQ = .FALSE., Q is not referenced. */
196
197 /* LDQ (input) INTEGER */
198 /* The leading dimension of the array Q. LDQ >= 1; */
199 /* and if WANTQ = .TRUE., LDQ >= N. */
200
201 /* Z (input/output) DOUBLE PRECISION array, dimension (LDZ,N) */
202 /* On entry, if WANTZ = .TRUE., Z is an N-by-N matrix. */
203 /* On exit, Z has been postmultiplied by the left orthogonal */
204 /* transformation matrix which reorder (A, B); The leading M */
205 /* columns of Z form orthonormal bases for the specified pair of */
206 /* left eigenspaces (deflating subspaces). */
207 /* If WANTZ = .FALSE., Z is not referenced. */
208
209 /* LDZ (input) INTEGER */
210 /* The leading dimension of the array Z. LDZ >= 1; */
211 /* If WANTZ = .TRUE., LDZ >= N. */
212
213 /* M (output) INTEGER */
214 /* The dimension of the specified pair of left and right eigen- */
215 /* spaces (deflating subspaces). 0 <= M <= N. */
216
217 /* PL, PR (output) DOUBLE PRECISION */
218 /* If IJOB = 1, 4 or 5, PL, PR are lower bounds on the */
219 /* reciprocal of the norm of "projections" onto left and right */
220 /* eigenspaces with respect to the selected cluster. */
221 /* 0 < PL, PR <= 1. */
222 /* If M = 0 or M = N, PL = PR = 1. */
223 /* If IJOB = 0, 2 or 3, PL and PR are not referenced. */
224
225 /* DIF (output) DOUBLE PRECISION array, dimension (2). */
226 /* If IJOB >= 2, DIF(1:2) store the estimates of Difu and Difl. */
227 /* If IJOB = 2 or 4, DIF(1:2) are F-norm-based upper bounds on */
228 /* Difu and Difl. If IJOB = 3 or 5, DIF(1:2) are 1-norm-based */
229 /* estimates of Difu and Difl. */
230 /* If M = 0 or N, DIF(1:2) = F-norm([A, B]). */
231 /* If IJOB = 0 or 1, DIF is not referenced. */
232
233 /* WORK (workspace/output) DOUBLE PRECISION array, dimension (LWORK) */
234 /* IF IJOB = 0, WORK is not referenced. Otherwise, */
235 /* on exit, if INFO = 0, WORK(1) returns the optimal LWORK. */
236
237 /* LWORK (input) INTEGER */
238 /* The dimension of the array WORK. LWORK >= 4*N+16. */
239 /* If IJOB = 1, 2 or 4, LWORK >= MAX(4*N+16, 2*M*(N-M)). */
240 /* If IJOB = 3 or 5, LWORK >= MAX(4*N+16, 4*M*(N-M)). */
241
242 /* If LWORK = -1, then a workspace query is assumed; the routine */
243 /* only calculates the optimal size of the WORK array, returns */
244 /* this value as the first entry of the WORK array, and no error */
245 /* message related to LWORK is issued by XERBLA. */
246
247 /* IWORK (workspace/output) INTEGER array, dimension (LIWORK) */
248 /* IF IJOB = 0, IWORK is not referenced. Otherwise, */
249 /* on exit, if INFO = 0, IWORK(1) returns the optimal LIWORK. */
250
251 /* LIWORK (input) INTEGER */
252 /* The dimension of the array IWORK. LIWORK >= 1. */
253 /* If IJOB = 1, 2 or 4, LIWORK >= N+6. */
254 /* If IJOB = 3 or 5, LIWORK >= MAX(2*M*(N-M), N+6). */
255
256 /* If LIWORK = -1, then a workspace query is assumed; the */
257 /* routine only calculates the optimal size of the IWORK array, */
258 /* returns this value as the first entry of the IWORK array, and */
259 /* no error message related to LIWORK is issued by XERBLA. */
260
261 /* INFO (output) INTEGER */
262 /* =0: Successful exit. */
263 /* <0: If INFO = -i, the i-th argument had an illegal value. */
264 /* =1: Reordering of (A, B) failed because the transformed */
265 /* matrix pair (A, B) would be too far from generalized */
266 /* Schur form; the problem is very ill-conditioned. */
267 /* (A, B) may have been partially reordered. */
268 /* If requested, 0 is returned in DIF(*), PL and PR. */
269
270 /* Further Details */
271 /* =============== */
272
273 /* DTGSEN first collects the selected eigenvalues by computing */
274 /* orthogonal U and W that move them to the top left corner of (A, B). */
275 /* In other words, the selected eigenvalues are the eigenvalues of */
276 /* (A11, B11) in: */
277
278 /* U'*(A, B)*W = (A11 A12) (B11 B12) n1 */
279 /* ( 0 A22),( 0 B22) n2 */
280 /* n1 n2 n1 n2 */
281
282 /* where N = n1+n2 and U' means the transpose of U. The first n1 columns */
283 /* of U and W span the specified pair of left and right eigenspaces */
284 /* (deflating subspaces) of (A, B). */
285
286 /* If (A, B) has been obtained from the generalized real Schur */
287 /* decomposition of a matrix pair (C, D) = Q*(A, B)*Z', then the */
288 /* reordered generalized real Schur form of (C, D) is given by */
289
290 /* (C, D) = (Q*U)*(U'*(A, B)*W)*(Z*W)', */
291
292 /* and the first n1 columns of Q*U and Z*W span the corresponding */
293 /* deflating subspaces of (C, D) (Q and Z store Q*U and Z*W, resp.). */
294
295 /* Note that if the selected eigenvalue is sufficiently ill-conditioned, */
296 /* then its value may differ significantly from its value before */
297 /* reordering. */
298
299 /* The reciprocal condition numbers of the left and right eigenspaces */
300 /* spanned by the first n1 columns of U and W (or Q*U and Z*W) may */
301 /* be returned in DIF(1:2), corresponding to Difu and Difl, resp. */
302
303 /* The Difu and Difl are defined as: */
304
305 /* Difu[(A11, B11), (A22, B22)] = sigma-min( Zu ) */
306 /* and */
307 /* Difl[(A11, B11), (A22, B22)] = Difu[(A22, B22), (A11, B11)], */
308
309 /* where sigma-min(Zu) is the smallest singular value of the */
310 /* (2*n1*n2)-by-(2*n1*n2) matrix */
311
312 /* Zu = [ kron(In2, A11) -kron(A22', In1) ] */
313 /* [ kron(In2, B11) -kron(B22', In1) ]. */
314
315 /* Here, Inx is the identity matrix of size nx and A22' is the */
316 /* transpose of A22. kron(X, Y) is the Kronecker product between */
317 /* the matrices X and Y. */
318
319 /* When DIF(2) is small, small changes in (A, B) can cause large changes */
320 /* in the deflating subspace. An approximate (asymptotic) bound on the */
321 /* maximum angular error in the computed deflating subspaces is */
322
323 /* EPS * norm((A, B)) / DIF(2), */
324
325 /* where EPS is the machine precision. */
326
327 /* The reciprocal norm of the projectors on the left and right */
328 /* eigenspaces associated with (A11, B11) may be returned in PL and PR. */
329 /* They are computed as follows. First we compute L and R so that */
330 /* P*(A, B)*Q is block diagonal, where */
331
332 /* P = ( I -L ) n1 Q = ( I R ) n1 */
333 /* ( 0 I ) n2 and ( 0 I ) n2 */
334 /* n1 n2 n1 n2 */
335
336 /* and (L, R) is the solution to the generalized Sylvester equation */
337
338 /* A11*R - L*A22 = -A12 */
339 /* B11*R - L*B22 = -B12 */
340
341 /* Then PL = (F-norm(L)**2+1)**(-1/2) and PR = (F-norm(R)**2+1)**(-1/2). */
342 /* An approximate (asymptotic) bound on the average absolute error of */
343 /* the selected eigenvalues is */
344
345 /* EPS * norm((A, B)) / PL. */
346
347 /* There are also global error bounds which valid for perturbations up */
348 /* to a certain restriction: A lower bound (x) on the smallest */
349 /* F-norm(E,F) for which an eigenvalue of (A11, B11) may move and */
350 /* coalesce with an eigenvalue of (A22, B22) under perturbation (E,F), */
351 /* (i.e. (A + E, B + F), is */
352
353 /* x = min(Difu,Difl)/((1/(PL*PL)+1/(PR*PR))**(1/2)+2*max(1/PL,1/PR)). */
354
355 /* An approximate bound on x can be computed from DIF(1:2), PL and PR. */
356
357 /* If y = ( F-norm(E,F) / x) <= 1, the angles between the perturbed */
358 /* (L', R') and unperturbed (L, R) left and right deflating subspaces */
359 /* associated with the selected cluster in the (1,1)-blocks can be */
360 /* bounded as */
361
362 /* max-angle(L, L') <= arctan( y * PL / (1 - y * (1 - PL * PL)**(1/2)) */
363 /* max-angle(R, R') <= arctan( y * PR / (1 - y * (1 - PR * PR)**(1/2)) */
364
365 /* See LAPACK User's Guide section 4.11 or the following references */
366 /* for more information. */
367
368 /* Note that if the default method for computing the Frobenius-norm- */
369 /* based estimate DIF is not wanted (see DLATDF), then the parameter */
370 /* IDIFJB (see below) should be changed from 3 to 4 (routine DLATDF */
371 /* (IJOB = 2 will be used)). See DTGSYL for more details. */
372
373 /* Based on contributions by */
374 /* Bo Kagstrom and Peter Poromaa, Department of Computing Science, */
375 /* Umea University, S-901 87 Umea, Sweden. */
376
377 /* References */
378 /* ========== */
379
380 /* [1] B. Kagstrom; A Direct Method for Reordering Eigenvalues in the */
381 /* Generalized Real Schur Form of a Regular Matrix Pair (A, B), in */
382 /* M.S. Moonen et al (eds), Linear Algebra for Large Scale and */
383 /* Real-Time Applications, Kluwer Academic Publ. 1993, pp 195-218. */
384
385 /* [2] B. Kagstrom and P. Poromaa; Computing Eigenspaces with Specified */
386 /* Eigenvalues of a Regular Matrix Pair (A, B) and Condition */
387 /* Estimation: Theory, Algorithms and Software, */
388 /* Report UMINF - 94.04, Department of Computing Science, Umea */
389 /* University, S-901 87 Umea, Sweden, 1994. Also as LAPACK Working */
390 /* Note 87. To appear in Numerical Algorithms, 1996. */
391
392 /* [3] B. Kagstrom and P. Poromaa, LAPACK-Style Algorithms and Software */
393 /* for Solving the Generalized Sylvester Equation and Estimating the */
394 /* Separation between Regular Matrix Pairs, Report UMINF - 93.23, */
395 /* Department of Computing Science, Umea University, S-901 87 Umea, */
396 /* Sweden, December 1993, Revised April 1994, Also as LAPACK Working */
397 /* Note 75. To appear in ACM Trans. on Math. Software, Vol 22, No 1, */
398 /* 1996. */
399
400 /* ===================================================================== */
401
402 /* .. Parameters .. */
403 /*< INTEGER IDIFJB >*/
404 /*< PARAMETER ( IDIFJB = 3 ) >*/
405 /*< DOUBLE PRECISION ZERO, ONE >*/
406 /*< PARAMETER ( ZERO = 0.0D+0, ONE = 1.0D+0 ) >*/
407 /* .. */
408 /* .. Local Scalars .. */
409 /*< >*/
410 /*< >*/
411 /*< DOUBLE PRECISION DSCALE, DSUM, EPS, RDSCAL, SMLNUM >*/
412 /* .. */
413 /* .. External Subroutines .. */
414 /*< >*/
415 /* .. */
416 /* .. External Functions .. */
417 /*< DOUBLE PRECISION DLAMCH >*/
418 /*< EXTERNAL DLAMCH >*/
419 /* .. */
420 /* .. Intrinsic Functions .. */
421 /*< INTRINSIC MAX, SIGN, SQRT >*/
422 /* .. */
423 /* .. Executable Statements .. */
424
425 /* Decode and test the input parameters */
426
427 /*< INFO = 0 >*/
428 /* Parameter adjustments */
429 --select;
430 a_dim1 = *lda;
431 a_offset = 1 + a_dim1;
432 a -= a_offset;
433 b_dim1 = *ldb;
434 b_offset = 1 + b_dim1;
435 b -= b_offset;
436 --alphar;
437 --alphai;
438 --beta;
439 q_dim1 = *ldq;
440 q_offset = 1 + q_dim1;
441 q -= q_offset;
442 z_dim1 = *ldz;
443 z_offset = 1 + z_dim1;
444 z__ -= z_offset;
445 --dif;
446 --work;
447 --iwork;
448
449 /* Function Body */
450 *info = 0;
451 /*< LQUERY = ( LWORK.EQ.-1 .OR. LIWORK.EQ.-1 ) >*/
452 lquery = *lwork == -1 || *liwork == -1;
453
454 /*< IF( IJOB.LT.0 .OR. IJOB.GT.5 ) THEN >*/
455 if (*ijob < 0 || *ijob > 5) {
456 /*< INFO = -1 >*/
457 *info = -1;
458 /*< ELSE IF( N.LT.0 ) THEN >*/
459 } else if (*n < 0) {
460 /*< INFO = -5 >*/
461 *info = -5;
462 /*< ELSE IF( LDA.LT.MAX( 1, N ) ) THEN >*/
463 } else if (*lda < maxcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:160:9`!(1,*n)) {
464 /*< INFO = -7 >*/
465 *info = -7;
466 /*< ELSE IF( LDB.LT.MAX( 1, N ) ) THEN >*/
467 } else if (*ldb < maxcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:160:9`!(1,*n)) {
468 /*< INFO = -9 >*/
469 *info = -9;
470 /*< ELSE IF( LDQ.LT.1 .OR. ( WANTQ .AND. LDQ.LT.N ) ) THEN >*/
471 } else if (*ldq < 1 || (*wantq && *ldq < *n)) {
472 /*< INFO = -14 >*/
473 *info = -14;
474 /*< ELSE IF( LDZ.LT.1 .OR. ( WANTZ .AND. LDZ.LT.N ) ) THEN >*/
475 } else if (*ldz < 1 || (*wantz && *ldz < *n)) {
476 /*< INFO = -16 >*/
477 *info = -16;
478 /*< END IF >*/
479 }
480
481 /*< IF( INFO.NE.0 ) THEN >*/
482 if (*info != 0) {
483 /*< CALL XERBLA( 'DTGSEN', -INFO ) >*/
484 i__1 = -(*info);
485 xerbla_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:303:9`!("DTGSEN", &i__1, (ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!)6);
486 /*< RETURN >*/
487 return 0;
488 /*< END IF >*/
489 }
490
491 /* Get machine constants */
492
493 /*< EPS = DLAMCH( 'P' ) >*/
494 eps = dlamch_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:81:9`!("P", (ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!)1);
495 /*< SMLNUM = DLAMCH( 'S' ) / EPS >*/
496 smlnum = dlamch_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:81:9`!("S", (ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!)1) / eps;
497 /*< IERR = 0 >*/
498 ierr = 0;
499
500 /*< WANTP = IJOB.EQ.1 .OR. IJOB.GE.4 >*/
501 wantp = *ijob == 1 || *ijob >= 4;
502 /*< WANTD1 = IJOB.EQ.2 .OR. IJOB.EQ.4 >*/
503 wantd1 = *ijob == 2 || *ijob == 4;
504 /*< WANTD2 = IJOB.EQ.3 .OR. IJOB.EQ.5 >*/
505 wantd2 = *ijob == 3 || *ijob == 5;
506 /*< WANTD = WANTD1 .OR. WANTD2 >*/
507 wantd = wantd1 || wantd2;
508
509 /* Set M to the dimension of the specified pair of deflating */
510 /* subspaces. */
511
512 /*< M = 0 >*/
513 *m = 0;
514 /*< PAIR = .FALSE. >*/
515 pair = FALSE_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:30:9`!;
516 /*< DO 10 K = 1, N >*/
517 i__1 = *n;
518 for (k = 1; k <= i__1; ++k) {
519 /*< IF( PAIR ) THEN >*/
520 if (pair) {
521 /*< PAIR = .FALSE. >*/
522 pair = FALSE_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:30:9`!;
523 /*< ELSE >*/
524 } else {
525 /*< IF( K.LT.N ) THEN >*/
526 if (k < *n) {
527 /*< IF( A( K+1, K ).EQ.ZERO ) THEN >*/
528 if (a[k + 1 + k * a_dim1] == 0.) {
529 /*< >*/
530 if (select[k]) {
531 ++(*m);
532 }
533 /*< ELSE >*/
534 } else {
535 /*< PAIR = .TRUE. >*/
536 pair = TRUE_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:29:9`!;
537 /*< >*/
538 if (select[k] || select[k + 1]) {
539 *m += 2;
540 }
541 /*< END IF >*/
542 }
543 /*< ELSE >*/
544 } else {
545 /*< >*/
546 if (select[*n]) {
547 ++(*m);
548 }
549 /*< END IF >*/
550 }
551 /*< END IF >*/
552 }
553 /*< 10 CONTINUE >*/
554 /* L10: */
555 }
556
557 /*< IF( IJOB.EQ.1 .OR. IJOB.EQ.2 .OR. IJOB.EQ.4 ) THEN >*/
558 if (*ijob == 1 || *ijob == 2 || *ijob == 4) {
559 /*< LWMIN = MAX( 1, 4*N+16, 2*M*( N-M ) ) >*/
560 /* Computing MAX */
561 i__1 = 1, i__2 = (*n << 2) + 16, i__1 = maxcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:160:9`!(i__1,i__2), i__2 = (*m <<
562 1) * (*n - *m);
563 lwmin = maxcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:160:9`!(i__1,i__2);
564 /*< LIWMIN = MAX( 1, N+6 ) >*/
565 /* Computing MAX */
566 i__1 = 1, i__2 = *n + 6;
567 liwmin = maxcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:160:9`!(i__1,i__2);
568 /*< ELSE IF( IJOB.EQ.3 .OR. IJOB.EQ.5 ) THEN >*/
569 } else if (*ijob == 3 || *ijob == 5) {
570 /*< LWMIN = MAX( 1, 4*N+16, 4*M*( N-M ) ) >*/
571 /* Computing MAX */
572 i__1 = 1, i__2 = (*n << 2) + 16, i__1 = maxcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:160:9`!(i__1,i__2), i__2 = (*m <<
573 2) * (*n - *m);
574 lwmin = maxcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:160:9`!(i__1,i__2);
575 /*< LIWMIN = MAX( 1, 2*M*( N-M ), N+6 ) >*/
576 /* Computing MAX */
577 i__1 = 1, i__2 = (*m << 1) * (*n - *m), i__1 = maxcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:160:9`!(i__1,i__2), i__2 =
578 *n + 6;
579 liwmin = maxcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:160:9`!(i__1,i__2);
580 /*< ELSE >*/
581 } else {
582 /*< LWMIN = MAX( 1, 4*N+16 ) >*/
583 /* Computing MAX */
584 i__1 = 1, i__2 = (*n << 2) + 16;
585 lwmin = maxcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:160:9`!(i__1,i__2);
586 /*< LIWMIN = 1 >*/
587 liwmin = 1;
588 /*< END IF >*/
589 }
590
591 /*< WORK( 1 ) = LWMIN >*/
592 work[1] = (doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`!) lwmin;
593 /*< IWORK( 1 ) = LIWMIN >*/
594 iwork[1] = liwmin;
595
596 /*< IF( LWORK.LT.LWMIN .AND. .NOT.LQUERY ) THEN >*/
597 if (*lwork < lwmin && ! lquery) {
598 /*< INFO = -22 >*/
599 *info = -22;
600 /*< ELSE IF( LIWORK.LT.LIWMIN .AND. .NOT.LQUERY ) THEN >*/
601 } else if (*liwork < liwmin && ! lquery) {
602 /*< INFO = -24 >*/
603 *info = -24;
604 /*< END IF >*/
605 }
606
607 /*< IF( INFO.NE.0 ) THEN >*/
608 if (*info != 0) {
609 /*< CALL XERBLA( 'DTGSEN', -INFO ) >*/
610 i__1 = -(*info);
611 xerbla_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:303:9`!("DTGSEN", &i__1, (ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!)6);
612 /*< RETURN >*/
613 return 0;
614 /*< ELSE IF( LQUERY ) THEN >*/
615 } else if (lquery) {
616 /*< RETURN >*/
617 return 0;
618 /*< END IF >*/
619 }
620
621 /* Quick return if possible. */
622
623 /*< IF( M.EQ.N .OR. M.EQ.0 ) THEN >*/
624 if (*m == *n || *m == 0) {
625 /*< IF( WANTP ) THEN >*/
626 if (wantp) {
627 /*< PL = ONE >*/
628 *pl = 1.;
629 /*< PR = ONE >*/
630 *pr = 1.;
631 /*< END IF >*/
632 }
633 /*< IF( WANTD ) THEN >*/
634 if (wantd) {
635 /*< DSCALE = ZERO >*/
636 dscale = 0.;
637 /*< DSUM = ONE >*/
638 dsum = 1.;
639 /*< DO 20 I = 1, N >*/
640 i__1 = *n;
641 for (i__ = 1; i__ <= i__1; ++i__) {
642 /*< CALL DLASSQ( N, A( 1, I ), 1, DSCALE, DSUM ) >*/
643 dlassq_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:99:9`!(n, &a[i__ * a_dim1 + 1], &c__1cxx . . $ c__1., &dscale, &dsum);
644 /*< CALL DLASSQ( N, B( 1, I ), 1, DSCALE, DSUM ) >*/
645 dlassq_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:99:9`!(n, &b[i__ * b_dim1 + 1], &c__1cxx . . $ c__1., &dscale, &dsum);
646 /*< 20 CONTINUE >*/
647 /* L20: */
648 }
649 /*< DIF( 1 ) = DSCALE*SQRT( DSUM ) >*/
650 dif[1] = dscale * sqrtcxx . . $ sqrt(447c67c6676f75c3).(dsum);
651 /*< DIF( 2 ) = DIF( 1 ) >*/
652 dif[2] = dif[1];
653 /*< END IF >*/
654 }
655 /*< GO TO 60 >*/
656 goto L60;
657 /*< END IF >*/
658 }
659
660 /* Collect the selected blocks at the top-left corner of (A, B). */
661
662 /*< KS = 0 >*/
663 ks = 0;
664 /*< PAIR = .FALSE. >*/
665 pair = FALSE_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:30:9`!;
666 /*< DO 30 K = 1, N >*/
667 i__1 = *n;
668 for (k = 1; k <= i__1; ++k) {
669 /*< IF( PAIR ) THEN >*/
670 if (pair) {
671 /*< PAIR = .FALSE. >*/
672 pair = FALSE_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:30:9`!;
673 /*< ELSE >*/
674 } else {
675
676 /*< SWAP = SELECT( K ) >*/
677 swap = select[k];
678 /*< IF( K.LT.N ) THEN >*/
679 if (k < *n) {
680 /*< IF( A( K+1, K ).NE.ZERO ) THEN >*/
681 if (a[k + 1 + k * a_dim1] != 0.) {
682 /*< PAIR = .TRUE. >*/
683 pair = TRUE_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:29:9`!;
684 /*< SWAP = SWAP .OR. SELECT( K+1 ) >*/
685 swap = swap || select[k + 1];
686 /*< END IF >*/
687 }
688 /*< END IF >*/
689 }
690
691 /*< IF( SWAP ) THEN >*/
692 if (swap) {
693 /*< KS = KS + 1 >*/
694 ++ks;
695
696 /* Swap the K-th block to position KS. */
697 /* Perform the reordering of diagonal blocks in (A, B) */
698 /* by orthogonal transformation matrices and update */
699 /* Q and Z accordingly (if requested): */
700
701 /*< KK = K >*/
702 kk = k;
703 /*< >*/
704 if (k != ks) {
705 dtgexc_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:148:9`!(wantq, wantz, n, &a[a_offset], lda, &b[b_offset],
706 ldb, &q[q_offset], ldq, &z__[z_offset], ldz, &kk,
707 &ks, &work[1], lwork, &ierr);
708 }
709
710 /*< IF( IERR.GT.0 ) THEN >*/
711 if (ierr > 0) {
712
713 /* Swap is rejected: exit. */
714
715 /*< INFO = 1 >*/
716 *info = 1;
717 /*< IF( WANTP ) THEN >*/
718 if (wantp) {
719 /*< PL = ZERO >*/
720 *pl = 0.;
721 /*< PR = ZERO >*/
722 *pr = 0.;
723 /*< END IF >*/
724 }
725 /*< IF( WANTD ) THEN >*/
726 if (wantd) {
727 /*< DIF( 1 ) = ZERO >*/
728 dif[1] = 0.;
729 /*< DIF( 2 ) = ZERO >*/
730 dif[2] = 0.;
731 /*< END IF >*/
732 }
733 /*< GO TO 60 >*/
734 goto L60;
735 /*< END IF >*/
736 }
737
738 /*< >*/
739 if (pair) {
740 ++ks;
741 }
742 /*< END IF >*/
743 }
744 /*< END IF >*/
745 }
746 /*< 30 CONTINUE >*/
747 /* L30: */
748 }
749 /*< IF( WANTP ) THEN >*/
750 if (wantp) {
751
752 /* Solve generalized Sylvester equation for R and L */
753 /* and compute PL and PR. */
754
755 /*< N1 = M >*/
756 n1 = *m;
757 /*< N2 = N - M >*/
758 n2 = *n - *m;
759 /*< I = N1 + 1 >*/
760 i__ = n1 + 1;
761 /*< IJB = 0 >*/
762 ijb = 0;
763 /*< CALL DLACPY( 'Full', N1, N2, A( 1, I ), LDA, WORK, N1 ) >*/
764 dlacpy_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:68:9`!("Full", &n1, &n2, &a[i__ * a_dim1 + 1], lda, &work[1], &n1, (
765 ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!)4);
766 /*< >*/
767 dlacpy_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:68:9`!("Full", &n1, &n2, &b[i__ * b_dim1 + 1], ldb, &work[n1 * n2 +
768 1], &n1, (ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!)4);
769 /*< >*/
770 i__1 = *lwork - (n1 << 1) * n2;
771 dtgsyl_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:151:9`!("N", &ijb, &n1, &n2, &a[a_offset], lda, &a[i__ + i__ * a_dim1]
772 , lda, &work[1], &n1, &b[b_offset], ldb, &b[i__ + i__ *
773 b_dim1], ldb, &work[n1 * n2 + 1], &n1, &dscale, &dif[1], &
774 work[(n1 * n2 << 1) + 1], &i__1, &iwork[1], &ierr, (ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!)1);
775
776 /* Estimate the reciprocal of norms of "projections" onto left */
777 /* and right eigenspaces. */
778
779 /*< RDSCAL = ZERO >*/
780 rdscal = 0.;
781 /*< DSUM = ONE >*/
782 dsum = 1.;
783 /*< CALL DLASSQ( N1*N2, WORK, 1, RDSCAL, DSUM ) >*/
784 i__1 = n1 * n2;
785 dlassq_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:99:9`!(&i__1, &work[1], &c__1cxx . . $ c__1., &rdscal, &dsum);
786 /*< PL = RDSCAL*SQRT( DSUM ) >*/
787 *pl = rdscal * sqrtcxx . . $ sqrt(447c67c6676f75c3).(dsum);
788 /*< IF( PL.EQ.ZERO ) THEN >*/
789 if (*pl == 0.) {
790 /*< PL = ONE >*/
791 *pl = 1.;
792 /*< ELSE >*/
793 } else {
794 /*< PL = DSCALE / ( SQRT( DSCALE*DSCALE / PL+PL )*SQRT( PL ) ) >*/
795 *pl = dscale / (sqrtcxx . . $ sqrt(447c67c6676f75c3).(dscale * dscale / *pl + *pl) * sqrtcxx . . $ sqrt(447c67c6676f75c3).(*pl));
796 /*< END IF >*/
797 }
798 /*< RDSCAL = ZERO >*/
799 rdscal = 0.;
800 /*< DSUM = ONE >*/
801 dsum = 1.;
802 /*< CALL DLASSQ( N1*N2, WORK( N1*N2+1 ), 1, RDSCAL, DSUM ) >*/
803 i__1 = n1 * n2;
804 dlassq_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:99:9`!(&i__1, &work[n1 * n2 + 1], &c__1cxx . . $ c__1., &rdscal, &dsum);
805 /*< PR = RDSCAL*SQRT( DSUM ) >*/
806 *pr = rdscal * sqrtcxx . . $ sqrt(447c67c6676f75c3).(dsum);
807 /*< IF( PR.EQ.ZERO ) THEN >*/
808 if (*pr == 0.) {
809 /*< PR = ONE >*/
810 *pr = 1.;
811 /*< ELSE >*/
812 } else {
813 /*< PR = DSCALE / ( SQRT( DSCALE*DSCALE / PR+PR )*SQRT( PR ) ) >*/
814 *pr = dscale / (sqrtcxx . . $ sqrt(447c67c6676f75c3).(dscale * dscale / *pr + *pr) * sqrtcxx . . $ sqrt(447c67c6676f75c3).(*pr));
815 /*< END IF >*/
816 }
817 /*< END IF >*/
818 }
819
820 /*< IF( WANTD ) THEN >*/
821 if (wantd) {
822
823 /* Compute estimates of Difu and Difl. */
824
825 /*< IF( WANTD1 ) THEN >*/
826 if (wantd1) {
827 /*< N1 = M >*/
828 n1 = *m;
829 /*< N2 = N - M >*/
830 n2 = *n - *m;
831 /*< I = N1 + 1 >*/
832 i__ = n1 + 1;
833 /*< IJB = IDIFJB >*/
834 ijb = 3;
835
836 /* Frobenius norm-based Difu-estimate. */
837
838 /*< >*/
839 i__1 = *lwork - (n1 << 1) * n2;
840 dtgsyl_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:151:9`!("N", &ijb, &n1, &n2, &a[a_offset], lda, &a[i__ + i__ *
841 a_dim1], lda, &work[1], &n1, &b[b_offset], ldb, &b[i__ +
842 i__ * b_dim1], ldb, &work[n1 * n2 + 1], &n1, &dscale, &
843 dif[1], &work[(n1 << 1) * n2 + 1], &i__1, &iwork[1], &
844 ierr, (ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!)1);
845
846 /* Frobenius norm-based Difl-estimate. */
847
848 /*< >*/
849 i__1 = *lwork - (n1 << 1) * n2;
850 dtgsyl_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:151:9`!("N", &ijb, &n2, &n1, &a[i__ + i__ * a_dim1], lda, &a[
851 a_offset], lda, &work[1], &n2, &b[i__ + i__ * b_dim1],
852 ldb, &b[b_offset], ldb, &work[n1 * n2 + 1], &n2, &dscale,
853 &dif[2], &work[(n1 << 1) * n2 + 1], &i__1, &iwork[1], &
854 ierr, (ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!)1);
855 /*< ELSE >*/
856 } else {
857
858
859 /* Compute 1-norm-based estimates of Difu and Difl using */
860 /* reversed communication with DLACON. In each step a */
861 /* generalized Sylvester equation or a transposed variant */
862 /* is solved. */
863
864 /*< KASE = 0 >*/
865 kase = 0;
866 /*< N1 = M >*/
867 n1 = *m;
868 /*< N2 = N - M >*/
869 n2 = *n - *m;
870 /*< I = N1 + 1 >*/
871 i__ = n1 + 1;
872 /*< IJB = 0 >*/
873 ijb = 0;
874 /*< MN2 = 2*N1*N2 >*/
875 mn2 = (n1 << 1) * n2;
876
877 /* 1-norm-based estimate of Difu. */
878
879 /*< 40 CONTINUE >*/
880 L40:
881 /*< >*/
882 dlacon_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:67:9`!(&mn2, &work[mn2 + 1], &work[1], &iwork[1], &dif[1], &kase)
883 ;
884 /*< IF( KASE.NE.0 ) THEN >*/
885 if (kase != 0) {
886 /*< IF( KASE.EQ.1 ) THEN >*/
887 if (kase == 1) {
888
889 /* Solve generalized Sylvester equation. */
890
891 /*< >*/
892 i__1 = *lwork - (n1 << 1) * n2;
893 dtgsyl_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:151:9`!("N", &ijb, &n1, &n2, &a[a_offset], lda, &a[i__ +
894 i__ * a_dim1], lda, &work[1], &n1, &b[b_offset],
895 ldb, &b[i__ + i__ * b_dim1], ldb, &work[n1 * n2 +
896 1], &n1, &dscale, &dif[1], &work[(n1 << 1) * n2 +
897 1], &i__1, &iwork[1], &ierr, (ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!)1);
898 /*< ELSE >*/
899 } else {
900
901 /* Solve the transposed variant. */
902
903 /*< >*/
904 i__1 = *lwork - (n1 << 1) * n2;
905 dtgsyl_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:151:9`!("T", &ijb, &n1, &n2, &a[a_offset], lda, &a[i__ +
906 i__ * a_dim1], lda, &work[1], &n1, &b[b_offset],
907 ldb, &b[i__ + i__ * b_dim1], ldb, &work[n1 * n2 +
908 1], &n1, &dscale, &dif[1], &work[(n1 << 1) * n2 +
909 1], &i__1, &iwork[1], &ierr, (ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!)1);
910 /*< END IF >*/
911 }
912 /*< GO TO 40 >*/
913 goto L40;
914 /*< END IF >*/
915 }
916 /*< DIF( 1 ) = DSCALE / DIF( 1 ) >*/
917 dif[1] = dscale / dif[1];
918
919 /* 1-norm-based estimate of Difl. */
920
921 /*< 50 CONTINUE >*/
922 L50:
923 /*< >*/
924 dlacon_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:67:9`!(&mn2, &work[mn2 + 1], &work[1], &iwork[1], &dif[2], &kase)
925 ;
926 /*< IF( KASE.NE.0 ) THEN >*/
927 if (kase != 0) {
928 /*< IF( KASE.EQ.1 ) THEN >*/
929 if (kase == 1) {
930
931 /* Solve generalized Sylvester equation. */
932
933 /*< >*/
934 i__1 = *lwork - (n1 << 1) * n2;
935 dtgsyl_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:151:9`!("N", &ijb, &n2, &n1, &a[i__ + i__ * a_dim1], lda,
936 &a[a_offset], lda, &work[1], &n2, &b[i__ + i__ *
937 b_dim1], ldb, &b[b_offset], ldb, &work[n1 * n2 +
938 1], &n2, &dscale, &dif[2], &work[(n1 << 1) * n2 +
939 1], &i__1, &iwork[1], &ierr, (ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!)1);
940 /*< ELSE >*/
941 } else {
942
943 /* Solve the transposed variant. */
944
945 /*< >*/
946 i__1 = *lwork - (n1 << 1) * n2;
947 dtgsyl_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:151:9`!("T", &ijb, &n2, &n1, &a[i__ + i__ * a_dim1], lda,
948 &a[a_offset], lda, &work[1], &n2, &b[i__ + i__ *
949 b_dim1], ldb, &b[b_offset], ldb, &work[n1 * n2 +
950 1], &n2, &dscale, &dif[2], &work[(n1 << 1) * n2 +
951 1], &i__1, &iwork[1], &ierr, (ftnlencxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:60:9`!)1);
952 /*< END IF >*/
953 }
954 /*< GO TO 50 >*/
955 goto L50;
956 /*< END IF >*/
957 }
958 /*< DIF( 2 ) = DSCALE / DIF( 2 ) >*/
959 dif[2] = dscale / dif[2];
960
961 /*< END IF >*/
962 }
963 /*< END IF >*/
964 }
965
966 /*< 60 CONTINUE >*/
967 L60:
968
969 /* Compute generalized eigenvalues of reordered pair (A, B) and */
970 /* normalize the generalized Schur form. */
971
972 /*< PAIR = .FALSE. >*/
973 pair = FALSE_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:30:9`!;
974 /*< DO 80 K = 1, N >*/
975 i__1 = *n;
976 for (k = 1; k <= i__1; ++k) {
977 /*< IF( PAIR ) THEN >*/
978 if (pair) {
979 /*< PAIR = .FALSE. >*/
980 pair = FALSE_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:30:9`!;
981 /*< ELSE >*/
982 } else {
983
984 /*< IF( K.LT.N ) THEN >*/
985 if (k < *n) {
986 /*< IF( A( K+1, K ).NE.ZERO ) THEN >*/
987 if (a[k + 1 + k * a_dim1] != 0.) {
988 /*< PAIR = .TRUE. >*/
989 pair = TRUE_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_original.h:29:9`!;
990 /*< END IF >*/
991 }
992 /*< END IF >*/
993 }
994
995 /*< IF( PAIR ) THEN >*/
996 if (pair) {
997
998 /* Compute the eigenvalue(s) at position K. */
999
1000 /*< WORK( 1 ) = A( K, K ) >*/
1001 work[1] = a[k + k * a_dim1];
1002 /*< WORK( 2 ) = A( K+1, K ) >*/
1003 work[2] = a[k + 1 + k * a_dim1];
1004 /*< WORK( 3 ) = A( K, K+1 ) >*/
1005 work[3] = a[k + (k + 1) * a_dim1];
1006 /*< WORK( 4 ) = A( K+1, K+1 ) >*/
1007 work[4] = a[k + 1 + (k + 1) * a_dim1];
1008 /*< WORK( 5 ) = B( K, K ) >*/
1009 work[5] = b[k + k * b_dim1];
1010 /*< WORK( 6 ) = B( K+1, K ) >*/
1011 work[6] = b[k + 1 + k * b_dim1];
1012 /*< WORK( 7 ) = B( K, K+1 ) >*/
1013 work[7] = b[k + (k + 1) * b_dim1];
1014 /*< WORK( 8 ) = B( K+1, K+1 ) >*/
1015 work[8] = b[k + 1 + (k + 1) * b_dim1];
1016 /*< >*/
1017 d__1 = smlnum * eps;
1018 dlag2_cxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_netlib_mangle.h:73:9`!(&work[1], &c__2cxx . . $ c__2., &work[5], &c__2cxx . . $ c__2., &d__1, &beta[k], &
1019 beta[k + 1], &alphar[k], &alphar[k + 1], &alphai[k]);
1020 /*< ALPHAI( K+1 ) = -ALPHAI( K ) >*/
1021 alphai[k + 1] = -alphai[k];
1022
1023 /*< ELSE >*/
1024 } else {
1025
1026 /*< IF( SIGN( ONE, B( K, K ) ).LT.ZERO ) THEN >*/
1027 if (d_signcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:14:9`!(&c_b28cxx . . $ c_b28., &b[k + k * b_dim1]) < 0.) {
1028
1029 /* If B(K,K) is negative, make it positive */
1030
1031 /*< DO 70 I = 1, N >*/
1032 i__2 = *n;
1033 for (i__ = 1; i__ <= i__2; ++i__) {
1034 /*< A( K, I ) = -A( K, I ) >*/
1035 a[k + i__ * a_dim1] = -a[k + i__ * a_dim1];
1036 /*< B( K, I ) = -B( K, I ) >*/
1037 b[k + i__ * b_dim1] = -b[k + i__ * b_dim1];
1038 /*< Q( I, K ) = -Q( I, K ) >*/
1039 q[i__ + k * q_dim1] = -q[i__ + k * q_dim1];
1040 /*< 70 CONTINUE >*/
1041 /* L70: */
1042 }
1043 /*< END IF >*/
1044 }
1045
1046 /*< ALPHAR( K ) = A( K, K ) >*/
1047 alphar[k] = a[k + k * a_dim1];
1048 /*< ALPHAI( K ) = ZERO >*/
1049 alphai[k] = 0.;
1050 /*< BETA( K ) = B( K, K ) >*/
1051 beta[k] = b[k + k * b_dim1];
1052
1053 /*< END IF >*/
1054 }
1055 /*< END IF >*/
1056 }
1057 /*< 80 CONTINUE >*/
1058 /* L80: */
1059 }
1060
1061 /*< WORK( 1 ) = LWMIN >*/
1062 work[1] = (doublerealcxx . . $ `Modules/ThirdParty/VNL/src/vxl/v3p/netlib/v3p_f2c_mangle.h:57:9`!) lwmin;
1063 /*< IWORK( 1 ) = LIWMIN >*/
1064 iwork[1] = liwmin;
1065
1066 /*< RETURN >*/
1067 return 0;
1068
1069 /* End of DTGSEN */
1070
1071 /*< END >*/
1072 } /* dtgsen_ */
1073
1074 #ifdef __cplusplus
1075 }
1076 #endif