eigensolver::ArpackOperatorWrapper< T, U, V > Class Template Reference

Wrapper for general operators and general eigenproblems. More...

#include <arpackpp.hh>

Public Member Functions

 ArpackOperatorWrapper (concepts::Operator< T > &OP, concepts::Operator< U > &A, concepts::Operator< V > &B)
 Constructor for the wrapper. More...
 
template<class S >
void multAxp (S *v, S *w)
 Applies the operator A and stores the result. More...
 
template<class S >
void multBxp (S *v, S *w)
 Applies the operator B and stores the result. More...
 
template<class S >
void multOPx (S *v, S *w)
 Applies the operator OP and stores the result. More...
 
template<class S >
void multOPxRegular (S *v, S *w)
 Applies the chaining of the operator OP with A and stores the result. More...
 

Private Attributes

concepts::Operator< U > & A_
 operator of the left hand side More...
 
concepts::Operator< V > & B_
 operator of the right hand side More...
 
concepts::Operator< T > & OP_
 multiplication operator More...
 

Detailed Description

template<class T, class U, class V>
class eigensolver::ArpackOperatorWrapper< T, U, V >

Wrapper for general operators and general eigenproblems.

Definition at line 69 of file arpackpp.hh.

Constructor & Destructor Documentation

◆ ArpackOperatorWrapper()

template<class T , class U , class V >
eigensolver::ArpackOperatorWrapper< T, U, V >::ArpackOperatorWrapper ( concepts::Operator< T > &  OP,
concepts::Operator< U > &  A,
concepts::Operator< V > &  B 
)
inline

Constructor for the wrapper.

Parameters
OPthe operator that you want to apply in the method multOPx
Athe operator that you want to apply in the method multAxp
Bthe operator that you want to apply in the method multBxp

Definition at line 78 of file arpackpp.hh.

Member Function Documentation

◆ multAxp()

template<class T , class U , class V >
template<class S >
void eigensolver::ArpackOperatorWrapper< T, U, V >::multAxp ( S *  v,
S *  w 
)
inline

Applies the operator A and stores the result.

Parameters
vvector the operator A is applied to
wvector that stores A * v

Definition at line 91 of file arpackpp.hh.

◆ multBxp()

template<class T , class U , class V >
template<class S >
void eigensolver::ArpackOperatorWrapper< T, U, V >::multBxp ( S *  v,
S *  w 
)
inline

Applies the operator B and stores the result.

Parameters
vvector the operator B is applied to
wvector that stores B * v

Definition at line 105 of file arpackpp.hh.

◆ multOPx()

template<class T , class U , class V >
template<class S >
void eigensolver::ArpackOperatorWrapper< T, U, V >::multOPx ( S *  v,
S *  w 
)
inline

Applies the operator OP and stores the result.

Parameters
vvector the operator Op is applied to
wvector that stores Op * v

Definition at line 119 of file arpackpp.hh.

◆ multOPxRegular()

template<class T , class U , class V >
template<class S >
void eigensolver::ArpackOperatorWrapper< T, U, V >::multOPxRegular ( S *  v,
S *  w 
)
inline

Applies the chaining of the operator OP with A and stores the result.

Parameters
vvector the operators Op and A are applied to
wvector that stores Op * A * v

Definition at line 134 of file arpackpp.hh.

Member Data Documentation

◆ A_

template<class T , class U , class V >
concepts::Operator<U>& eigensolver::ArpackOperatorWrapper< T, U, V >::A_
private

operator of the left hand side

Definition at line 150 of file arpackpp.hh.

◆ B_

template<class T , class U , class V >
concepts::Operator<V>& eigensolver::ArpackOperatorWrapper< T, U, V >::B_
private

operator of the right hand side

Definition at line 152 of file arpackpp.hh.

◆ OP_

template<class T , class U , class V >
concepts::Operator<T>& eigensolver::ArpackOperatorWrapper< T, U, V >::OP_
private

multiplication operator

Definition at line 148 of file arpackpp.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich