GenEigsSolver.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 GEN_EIGS_SOLVER_H
8 #define 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 
125 template <typename Scalar = double,
126  int SelectionRule = LARGEST_MAGN,
127  typename OpType = DenseGenMatProd<double> >
128 class GenEigsSolver : public GenEigsBase<Scalar, SelectionRule, OpType, IdentityBOp>
129 {
130 private:
132 
133 public:
151  GenEigsSolver(OpType* op, Index nev, Index ncv) :
152  GenEigsBase<Scalar, SelectionRule, OpType, IdentityBOp>(op, NULL, nev, ncv)
153  {}
154 };
155 
156 } // namespace Spectra
157 
158 #endif // GEN_EIGS_SOLVER_H
Spectra::IdentityBOp
Definition: ArnoldiOp.h:90
DenseGenMatProd.h
Spectra::GenEigsSolver::Index
Eigen::Index Index
Definition: GenEigsSolver.h:131
Spectra::GenEigsSolver::GenEigsSolver
GenEigsSolver(OpType *op, Index nev, Index ncv)
Definition: GenEigsSolver.h:151
Spectra::GenEigsBase
Definition: GenEigsBase.h:40
Spectra::LARGEST_MAGN
@ LARGEST_MAGN
Definition: SelectionRule.h:32
Spectra::GenEigsSolver
Definition: GenEigsSolver.h:128
SelectionRule.h
Spectra
Definition: LOBPCGSolver.h:19
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
GenEigsBase.h


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:19