Spectra
1.1.0
Header-only C++ Library for Large Scale Eigenvalue Problems
Loading...
Searching...
No Matches
HermEigsSolver.h
1
// Copyright (C) 2024-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_HERM_EIGS_SOLVER_H
8
#define SPECTRA_HERM_EIGS_SOLVER_H
9
10
#include <Eigen/Core>
11
12
#include "HermEigsBase.h"
13
#include "Util/SelectionRule.h"
14
#include "MatOp/DenseHermMatProd.h"
15
16
namespace
Spectra {
17
121
template
<
typename
OpType = DenseHermMatProd<
double
>>
122
class
HermEigsSolver
:
public
HermEigsBase
<OpType, IdentityBOp>
123
{
124
private
:
125
using
Index = Eigen::Index;
126
127
public
:
145
HermEigsSolver
(OpType& op, Index nev, Index ncv) :
146
HermEigsBase
<OpType, IdentityBOp>(op, IdentityBOp(), nev, ncv)
147
{}
148
};
149
150
}
// namespace Spectra
151
152
#endif
// SPECTRA_HERM_EIGS_SOLVER_H
Spectra::HermEigsBase
Definition
HermEigsBase.h:45
Spectra::HermEigsSolver::HermEigsSolver
HermEigsSolver(OpType &op, Index nev, Index ncv)
Definition
HermEigsSolver.h:145
Spectra
HermEigsSolver.h
Generated by
1.13.0