SymEigsSolver.h
Go to the documentation of this file.
1 // Copyright (C) 2016-2019 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 SYM_EIGS_SOLVER_H
8 #define SYM_EIGS_SOLVER_H
9 
10 #include <Eigen/Core>
11 
12 #include "SymEigsBase.h"
13 #include "Util/SelectionRule.h"
14 #include "MatOp/DenseSymMatProd.h"
15 
16 namespace Spectra {
17 
138 template <typename Scalar = double,
139  int SelectionRule = LARGEST_MAGN,
140  typename OpType = DenseSymMatProd<double> >
141 class SymEigsSolver : public SymEigsBase<Scalar, SelectionRule, OpType, IdentityBOp>
142 {
143 private:
145 
146 public:
164  SymEigsSolver(OpType* op, Index nev, Index ncv) :
165  SymEigsBase<Scalar, SelectionRule, OpType, IdentityBOp>(op, NULL, nev, ncv)
166  {}
167 };
168 
169 } // namespace Spectra
170 
171 #endif // SYM_EIGS_SOLVER_H
SymEigsBase.h
Spectra::SymEigsBase
Definition: SymEigsBase.h:44
Spectra::SymEigsSolver
Definition: SymEigsSolver.h:141
Spectra::IdentityBOp
Definition: ArnoldiOp.h:90
Spectra::SymEigsSolver::SymEigsSolver
SymEigsSolver(OpType *op, Index nev, Index ncv)
Definition: SymEigsSolver.h:164
Spectra::LARGEST_MAGN
@ LARGEST_MAGN
Definition: SelectionRule.h:32
SelectionRule.h
DenseSymMatProd.h
Spectra::SymEigsBase< double, SelectionRule, Spectra::SVDMatOp< double >, IdentityBOp >::Index
Eigen::Index Index
Definition: SymEigsBase.h:47
Spectra
Definition: LOBPCGSolver.h:19
Spectra::SymEigsSolver::Index
Eigen::Index Index
Definition: SymEigsSolver.h:144
NULL
#define NULL
Definition: ccolamd.c:609
Scalar
SCALAR Scalar
Definition: bench_gemm.cpp:46
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 Tue Jun 25 2024 03:03:48