Rosetta
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
rgg.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 
11 /// @file rgg.hh
12 /// @brief Header file for the EISPACK rgg routine.
13 /// @author Kale Kundert
14 
15 #ifndef INCLUDED_numeric_linear_algebra_rgg_HH
16 #define INCLUDED_numeric_linear_algebra_rgg_HH
17 
18 // Fortran Emulation Headers
19 #include <fem/fem.hpp>
20 
21 namespace numeric {
22 namespace linear_algebra {
23 
24 using namespace fem::major_types;
25 
26 double epslon(
27  double const & x);
28 
29 void qzhes(
30  int const & nm,
31  int const & n,
32  arr_ref<double,2> a,
33  arr_ref<double,2> b,
34  bool const & matz,
35  arr_ref<double,2> z);
36 
37 void qzit(
38  int const & nm,
39  int const & n,
40  arr_ref<double,2> a,
41  arr_ref<double,2> b,
42  double const & eps1,
43  bool const & matz,
44  arr_ref<double,2> z,
45  int & ierr);
46 
47 void qzval(
48  int const & nm,
49  int const & n,
50  arr_ref<double,2> a,
51  arr_ref<double,2> b,
52  arr_ref<double> alfr,
53  arr_ref<double> alfi,
54  arr_ref<double> beta,
55  bool const & matz,
56  arr_ref<double,2> z);
57 
58 void qzvec(
59  int const & nm,
60  int const & n,
61  arr_cref<double,2> a,
62  arr_ref<double,2> b,
63  arr_cref<double> alfr,
64  arr_cref<double> alfi,
65  arr_cref<double> beta,
66  arr_ref<double,2> z);
67 
68 void rgg(
69  int const & nm,
70  int const & n,
71  arr_ref<double,2> a,
72  arr_ref<double,2> b,
73  arr_ref<double> alfr,
74  arr_ref<double> alfi,
75  arr_ref<double> beta,
76  int const & matz,
77  arr_ref<double,2> z,
78  int & ierr);
79 
80 } // namespace linear_algebra
81 } // namespace numeric
82 
83 #endif
void qzhes(int const &nm, int const &n, arr_ref< double, 2 > a, arr_ref< double, 2 > b, bool const &matz, arr_ref< double, 2 > z)
This subroutine is the first step of the QZ algorithm for solving generalized matrix eigenvalue probl...
Definition: rgg.cc:95
def x
void qzval(int const &nm, int const &n, arr_ref< double, 2 > a, arr_ref< double, 2 > b, arr_ref< double > alfr, arr_ref< double > alfi, arr_ref< double > beta, bool const &matz, arr_ref< double, 2 > z)
This subroutine is the third step of the QZ algorithm for solving generalized matrix eigenvalue probl...
Definition: rgg.cc:843
void qzit(int const &nm, int const &n, arr_ref< double, 2 > a, arr_ref< double, 2 > b, double const &eps1, bool const &matz, arr_ref< double, 2 > z, int &ierr)
This subroutine is the second step of the QZ algorithm for solving generalized matrix eigenvalue prob...
Definition: rgg.cc:344
def z
void qzvec(int const &nm, int const &n, arr_cref< double, 2 > a, arr_ref< double, 2 > b, arr_cref< double > alfr, arr_cref< double > alfi, arr_cref< double > beta, arr_ref< double, 2 > z)
This subroutine is the optional fourth step of the QZ algorithm for solving generalized matrix eigenv...
Definition: rgg.cc:1232
double epslon(double const &x)
Estimate unit roundoff in quantities of size x.
Definition: rgg.cc:35
void rgg(int const &nm, int const &n, arr_ref< double, 2 > a, arr_ref< double, 2 > b, arr_ref< double > alfr, arr_ref< double > alfi, arr_ref< double > beta, int const &matz, arr_ref< double, 2 > z, int &ierr)
This subroutine calls the recommended sequence of subroutines from the eigensystem subroutine package...
Definition: rgg.cc:1581