SymEigsSolver.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_SYM_EIGS_SOLVER_H
8 #define SPECTRA_SYM_EIGS_SOLVER_H
9 
10 #include <Eigen/Core>
11 
12 #include "HermEigsBase.h"
13 #include "Util/SelectionRule.h"
14 #include "MatOp/DenseSymMatProd.h"
15 
16 namespace Spectra {
17 
133 template <typename OpType = DenseSymMatProd<double>>
134 class SymEigsSolver : public HermEigsBase<OpType, IdentityBOp>
135 {
136 private:
138 
139 public:
157  SymEigsSolver(OpType& op, Index nev, Index ncv) :
158  HermEigsBase<OpType, IdentityBOp>(op, IdentityBOp(), nev, ncv)
159  {}
160 };
161 
162 } // namespace Spectra
163 
164 #endif // SPECTRA_SYM_EIGS_SOLVER_H
Spectra::HermEigsBase< Spectra::SVDMatOp< Scalar >, IdentityBOp >::Index
Eigen::Index Index
Definition: HermEigsBase.h:52
Spectra::SymEigsSolver
Definition: SymEigsSolver.h:134
HermEigsBase.h
Spectra::IdentityBOp
Definition: ArnoldiOp.h:102
SelectionRule.h
DenseSymMatProd.h
Spectra
Definition: LOBPCGSolver.h:19
Spectra::HermEigsBase
Definition: HermEigsBase.h:44
Spectra::SymEigsSolver::SymEigsSolver
SymEigsSolver(OpType &op, Index nev, Index ncv)
Definition: SymEigsSolver.h:157
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 Fri Mar 28 2025 03:04:43