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
SCALAR Scalar
Definition: bench_gemm.cpp:46
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74
#define NULL
Definition: ccolamd.c:609
SymEigsSolver(OpType *op, Index nev, Index ncv)


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:36:35