1
/* Fesslix - Stochastic Analysis
2
* Copyright (C) 2010-2016 Wolfgang Betz
4
* Fesslix is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
9
* Fesslix is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with Fesslix. If not, see <http://www.gnu.org/licenses/>.
23
// -------------------------- GSL ----------------------------------------------------------------------
26
* @brief Calculates Eigenvalues of Amtx (symmetric)
28
void MtxEigenValue_GSL(FlxMtx_baseS& Amtx, const int M, flxVec& EigenValues, std::vector<flxVec>& Eigenvectors);
31
* @brief Calculates Eigenvalues of Amtx (nonsymmetric)
33
void MtxEigenValue_GSL(FlxMtx& Amtx, const int M, flxVec& EigenValues, std::vector<flxVec>& Eigenvectors);
36
* @brief Calculates Eigenvalues of a generalized matrix eigenvalue problem Ax = lBx
37
* @param sortID 1:descending; 2:ascending
39
void MtxEigenValue_GSL(FlxMtx_baseS& Amtx, FlxMtx_baseS& Bmtx, const int M, flxVec& EigenValues, std::vector<flxVec>& Eigenvectors, const tuint sortID);
42
// -------------------------- GSL stab----------------------------------------------------------------------
45
* @brief Calculates Eigenvalues of Amtx
47
void MtxEigenValue_GSLstab(FlxMtx_baseS& Amtx, const int M, flxVec& EigenValues, std::vector<flxVec>& Eigenvectors);
52
* @brief Calculates Eigenvalues of a generalized matrix eigenvalue problem Ax = lBx
54
void MtxEigenValue_GSLstab(FlxMtx_baseS& Amtx, FlxMtx_baseS& Bmtx, const int M, flxVec& EigenValues, std::vector<flxVec>& Eigenvectors);