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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:42:05