Loading [MathJax]/extensions/MathMenu.js
Spectra
1.2.0
Header-only C++ Library for Large Scale Eigenvalue Problems
Toggle main menu visibility
Main Page
Topics
Classes
Class List
Class Hierarchy
Class Members
All
c
d
e
g
h
i
l
n
o
p
r
s
u
~
Functions
c
d
e
g
h
i
l
n
o
p
r
s
u
~
Typedefs
Files
File List
Spectra
Topics
Classes
Files
File List
Spectra
MatOp
Util
DavidsonSymEigsSolver.h
GenEigsBase.h
GenEigsComplexShiftSolver.h
GenEigsRealShiftSolver.h
GenEigsSolver.h
HermEigsBase.h
HermEigsSolver.h
JDSymEigsBase.h
SymEigsShiftSolver.h
SymEigsSolver.h
SymGEigsShiftSolver.h
SymGEigsSolver.h
•
All
Classes
Functions
Typedefs
Enumerations
Enumerator
Modules
Pages
Loading...
Searching...
No Matches
GenEigsSolver.h
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_GEN_EIGS_SOLVER_H
8
#define SPECTRA_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
158
template
<
typename
OpType = DenseGenMatProd<
double
>>
159
class
GenEigsSolver
:
public
GenEigsBase
<OpType, IdentityBOp>
160
{
161
private
:
162
using
Index = Eigen::Index;
163
164
public
:
182
GenEigsSolver
(OpType& op, Index nev, Index ncv) :
183
GenEigsBase
<OpType, IdentityBOp>(op, IdentityBOp(), nev, ncv)
184
{}
182
GenEigsSolver
(OpType& op, Index nev, Index ncv) : {
…
}
185
};
159
class
GenEigsSolver
:
public
GenEigsBase
<OpType, IdentityBOp> {
…
};
186
187
}
// namespace Spectra
188
189
#endif
// SPECTRA_GEN_EIGS_SOLVER_H
Spectra::GenEigsBase
Definition
GenEigsBase.h:151
Spectra::GenEigsSolver::GenEigsSolver
GenEigsSolver(OpType &op, Index nev, Index ncv)
Definition
GenEigsSolver.h:182
Spectra
GenEigsSolver.h
Generated by
1.14.0