CUSP
Loading...
Searching...
No Matches
lobpcg.h
Go to the documentation of this file.
1
/*
2
* Copyright 2008-2009 NVIDIA Corporation
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
21
#pragma once
22
23
#include <cusp/detail/config.h>
24
25
namespace
cusp
26
{
27
namespace
eigen
28
{
29
36
/* \cond */
37
template
<
typename
LinearOperator,
38
typename
Array1d,
39
typename
Array2d,
40
typename
Monitor>
41
void
lobpcg
(LinearOperator& A,
42
Array1d& S,
43
Array2d& X,
44
Monitor& monitor,
45
bool
largest =
true
);
46
47
template
<
typename
LinearOperator,
48
typename
Array1d,
49
typename
Array2d>
50
void
lobpcg
(LinearOperator& A,
51
Array1d& S,
52
Array2d& X,
53
bool
largest =
true
);
54
/* \endcond */
55
125
template
<
typename
LinearOperator,
126
typename
Array1d,
127
typename
Array2d,
128
typename
Monitor,
129
typename
Preconditioner>
130
void
lobpcg
(LinearOperator& A,
131
Array1d& S,
132
Array2d& X,
133
Monitor&
monitor
,
134
Preconditioner& M,
135
bool
largest =
true
);
136
140
}
// end namespace eigen
141
}
// end namespace cusp
142
143
#include <cusp/eigen/detail/lobpcg.inl>
144
cusp::monitor
Implements standard convergence criteria and reporting for iterative solvers.
Definition
monitor.h:102
cusp::eigen::lobpcg
void lobpcg(LinearOperator &A, Array1d &S, Array2d &X, Monitor &monitor, Preconditioner &M, bool largest=true)
LOBPCG method.
cusp
eigen
lobpcg.h
Generated on Fri Apr 17 2026 02:45:12 for CUSP by
1.9.8