HermEigsSolver.h
Go to the documentation of this file.
1 // Copyright (C) 2024-2025 Yixuan Qiu <yixuan.qiu@cos.name>
2 //
3 // This Source Code Form is subject to the terms of the Mozilla
4 // Public License v. 2.0. If a copy of the MPL was not distributed
5 // with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
6 
7 #ifndef SPECTRA_HERM_EIGS_SOLVER_H
8 #define SPECTRA_HERM_EIGS_SOLVER_H
9 
10 #include <Eigen/Core>
11 
12 #include "HermEigsBase.h"
13 #include "Util/SelectionRule.h"
14 #include "MatOp/DenseHermMatProd.h"
15 
16 namespace Spectra {
17 
115 template <typename OpType = DenseHermMatProd<double>>
116 class HermEigsSolver : public HermEigsBase<OpType, IdentityBOp>
117 {
118 private:
120 
121 public:
139  HermEigsSolver(OpType& op, Index nev, Index ncv) :
140  HermEigsBase<OpType, IdentityBOp>(op, IdentityBOp(), nev, ncv)
141  {}
142 };
143 
144 } // namespace Spectra
145 
146 #endif // SPECTRA_HERM_EIGS_SOLVER_H
Spectra::HermEigsSolver
Definition: HermEigsSolver.h:116
HermEigsBase.h
Spectra::IdentityBOp
Definition: ArnoldiOp.h:102
DenseHermMatProd.h
Spectra::HermEigsSolver::Index
Eigen::Index Index
Definition: HermEigsSolver.h:119
SelectionRule.h
Spectra
Definition: LOBPCGSolver.h:19
Spectra::HermEigsBase
Definition: HermEigsBase.h:44
Spectra::HermEigsSolver::HermEigsSolver
HermEigsSolver(OpType &op, Index nev, Index ncv)
Definition: HermEigsSolver.h:139
Eigen::Index
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74


gtsam
Author(s):
autogenerated on Thu Apr 10 2025 03:01:32