matrix.h
1 /***************************************************************************
2  Copyright (C) 2002-2015 Kentaro Kitagawa
3  kitagawa@phys.s.u-tokyo.ac.jp
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  You should have received a copy of the GNU Library General
11  Public License and a list of authors along with this program;
12  see the files COPYING and AUTHORS.
13 ***************************************************************************/
14 #ifndef MATRIX_H_
15 #define MATRIX_H_
16 //---------------------------------------------------------------------------
17 
18 #include "support.h"
19 
20 #ifdef HAVE_LAPACK
21 
22 #include <vector>
23 #include <complex>
24 #include <boost/numeric/ublas/matrix.hpp>
25 #include <boost/numeric/ublas/triangular.hpp>
26 #include <boost/numeric/ublas/symmetric.hpp>
27 
28 using namespace boost::numeric;
29 
30 //! RRR (Relative Robast Representation) eigenvalue driver for Hermite matrix.
31 void eigHermiteRRR(const ublas::matrix<std::complex<double> > &a,
32  ublas::vector<double> &lambda, ublas::matrix<std::complex<double> > &v,
33  double tol);
34 
35 #endif// HAVE_LAPACK
36 
37 #endif /*MATRIX_H_*/

Generated for KAME4 by  doxygen 1.8.3