GenEigsSolver.h
Go to the documentation of this file.
1 // Copyright (C) 2016-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_GEN_EIGS_SOLVER_H
8 #define SPECTRA_GEN_EIGS_SOLVER_H
9 
10 #include <Eigen/Core>
11 
12 #include "GenEigsBase.h"
13 #include "Util/SelectionRule.h"
14 #include "MatOp/DenseGenMatProd.h"
15 
16 namespace Spectra {
17 
118 template <typename OpType = DenseGenMatProd<double>>
119 class GenEigsSolver : public GenEigsBase<OpType, IdentityBOp>
120 {
121 private:
123 
124 public:
142  GenEigsSolver(OpType& op, Index nev, Index ncv) :
143  GenEigsBase<OpType, IdentityBOp>(op, IdentityBOp(), nev, ncv)
144  {}
145 };
146 
147 } // namespace Spectra
148 
149 #endif // SPECTRA_GEN_EIGS_SOLVER_H
Spectra::GenEigsSolver::Index
Eigen::Index Index
Definition: GenEigsSolver.h:122
Spectra::IdentityBOp
Definition: ArnoldiOp.h:102
DenseGenMatProd.h
Spectra::GenEigsSolver::GenEigsSolver
GenEigsSolver(OpType &op, Index nev, Index ncv)
Definition: GenEigsSolver.h:142
Spectra::GenEigsBase
Definition: GenEigsBase.h:38
Spectra::GenEigsSolver
Definition: GenEigsSolver.h:119
SelectionRule.h
Spectra
Definition: LOBPCGSolver.h:19
Eigen::Index
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74
GenEigsBase.h


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