Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
aglowav::C2_tl2< F > Class Template Reference

Weighted diagonal preconditioner for the binary Wavelets. More...

#include <operator.hh>

Inheritance diagram for aglowav::C2_tl2< F >:
Inheritance graph
[legend]
Collaboration diagram for aglowav::C2_tl2< F >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Cmplxtype< F >::type c_type
 Real type of data type.
typedef Realtype< F >::type r_type
 Real type of data type.
typedef F type
 Type of data, e.g. matrix entries.

Public Member Functions

 C2_tl2 (const BiHaar3d< F > &spc, concepts::Real t)
 Constructor.
virtual const uint dimX () const
 Returns the size of the image space of the operator (number of rows of the corresponding matrix)
virtual const uint dimY () const
 Returns the size of the source space of the operator (number of columns of the corresponding matrix)
virtual void operator() (const Function< c_type > &fncY, Function< c_type > &fncX)
 Application operator for complex function fncY.
virtual void operator() (const Function< r_type > &fncY, Function< F > &fncX)
 Application operator for real function fncY.
void operator() (const concepts::Vector< F > &fncY, concepts::Vector< F > &fncX)
void operator() (const concepts::Function< F > &fncY, concepts::Function< F > &fncX)
 Matrix vector multiplication.
const BiHaar3d< F > & spaceX () const
 Spaces of the transformation.
const BiHaar3d< F > & spaceY () const
 ~C2_tl2 ()
 Destructor.

Protected Member Functions

std::ostream & info (std::ostream &os) const
 Information about the operator.

Protected Attributes

uint dimX_
 Dimension of image space and the source space.
uint dimY_

Private Attributes

concepts::Real ** idx_
 n entries, each entry points to the appropriate entry in val_
const BiHaar3d< F > & spc_
 Spaces of the transformation.
concepts::Real t_
concepts::Realval_
 Values of the diagonal entries (only one entry per level)

Detailed Description

template<class F = concepts::Real>
class aglowav::C2_tl2< F >

Weighted diagonal preconditioner for the binary Wavelets.

The weights are $ 2^{-tl/2} $ where $t$ is a parameter ( $-1/2 < t \leq 0$ normally) and $l$ the level of the support.

Parameters:
FField (Real or Cmplx)

Definition at line 116 of file operator.hh.


Member Typedef Documentation

template<class F>
typedef Cmplxtype<F>::type concepts::Operator< F >::c_type [inherited]
template<class F>
typedef Realtype<F>::type concepts::Operator< F >::r_type [inherited]
template<class F>
typedef F concepts::Operator< F >::type [inherited]

Type of data, e.g. matrix entries.

Reimplemented in concepts::AfterIteration< F >, and concepts::SubMatrixN< F >.

Definition at line 43 of file compositions.hh.


Constructor & Destructor Documentation

template<class F = concepts::Real>
aglowav::C2_tl2< F >::C2_tl2 ( const BiHaar3d< F > &  spc,
concepts::Real  t 
)

Constructor.

Exceptions:
MissingFeature
template<class F = concepts::Real>
aglowav::C2_tl2< F >::~C2_tl2 ( ) [inline]

Destructor.

Definition at line 123 of file operator.hh.


Member Function Documentation

template<class F>
virtual const uint concepts::Operator< F >::dimX ( ) const [inline, virtual, inherited]

Returns the size of the image space of the operator (number of rows of the corresponding matrix)

Definition at line 87 of file compositions.hh.

template<class F>
virtual const uint concepts::Operator< F >::dimY ( ) const [inline, virtual, inherited]

Returns the size of the source space of the operator (number of columns of the corresponding matrix)

Definition at line 92 of file compositions.hh.

template<class F = concepts::Real>
std::ostream& aglowav::C2_tl2< F >::info ( std::ostream &  os) const [protected, virtual]

Information about the operator.

Reimplemented from concepts::Operator< F >.

template<class F>
virtual void concepts::Operator< F >::operator() ( const Function< c_type > &  fncY,
Function< c_type > &  fncX 
) [virtual, inherited]

Application operator for complex function fncY.

Computes fncX = A(fncY) where A is this operator. fncX becomes complex.

In derived classes its enough to implement the operator() for complex Operator's. If a real counterpart is not implemented, the function fncY is splitted into real and imaginary part and the application operator for real functions is called for each. Then the result is combined.

If in a derived class the operator() for complex Operator's is not implemented, a exception is thrown from here.

Reimplemented in concepts::VecOperator< F >, concepts::Multiple< F >, concepts::LiCoI< F >, concepts::LiCo< F >, concepts::DenseMatrix< F >, concepts::DiagonalMatrix< F >, concepts::DiagonalSolver< F >, concepts::Matrix< F >, concepts::Permutation< F >, concepts::SparseMatrix< F >, concepts::SubMatrixN< F >, concepts::Transpose< F >, concepts::VecOperator< Real >, concepts::DenseMatrix< Cmplx >, concepts::DenseMatrix< Real >, concepts::DiagonalMatrix< Real >, concepts::Matrix< concepts::Real >, concepts::Matrix< F::type >, concepts::Matrix< FX >, concepts::Matrix< T >, concepts::Matrix< Cmplx >, concepts::Matrix< Real >, concepts::Permutation< Real >, concepts::SparseMatrix< concepts::Real >, concepts::SparseMatrix< FX >, concepts::SparseMatrix< T >, concepts::SparseMatrix< Cmplx >, and concepts::SparseMatrix< Real >.

template<class F = concepts::Real>
void aglowav::C2_tl2< F >::operator() ( const concepts::Function< F > &  fncY,
concepts::Function< F > &  fncX 
)

Matrix vector multiplication.

Exceptions:
MissingFeature
template<class F = concepts::Real>
void aglowav::C2_tl2< F >::operator() ( const concepts::Vector< F > &  fncY,
concepts::Vector< F > &  fncX 
)
template<class F>
virtual void concepts::Operator< F >::operator() ( const Function< r_type > &  fncY,
Function< F > &  fncX 
) [virtual, inherited]

Application operator for real function fncY.

Computes fncX = A(fncY) where A is this operator.

fncX becomes the type of the operator, for real data it becomes real, for complex data it becomes complex.

In derived classes its enough to implement the operator() for real Operator's. If a complex counterpart is not implemented, the function fncY is transformed to a complex function and then the application operator for complex functions is called.

If in a derived class the operator() for real Operator's is not implemented, a exception is thrown from here.

Reimplemented in concepts::VecOperator< F >, concepts::Multiple< F >, concepts::LiCoI< F >, concepts::LiCo< F >, concepts::DenseMatrix< F >, concepts::DiagonalMatrix< F >, concepts::DiagonalSolver< F >, concepts::Matrix< F >, concepts::Permutation< F >, concepts::SparseMatrix< F >, concepts::SubMatrixN< F >, concepts::Transpose< F >, concepts::VecOperator< Real >, concepts::DenseMatrix< Cmplx >, concepts::DenseMatrix< Real >, concepts::DiagonalMatrix< Real >, concepts::Matrix< concepts::Real >, concepts::Matrix< F::type >, concepts::Matrix< FX >, concepts::Matrix< T >, concepts::Matrix< Cmplx >, concepts::Matrix< Real >, concepts::Permutation< Real >, concepts::SparseMatrix< concepts::Real >, concepts::SparseMatrix< FX >, concepts::SparseMatrix< T >, concepts::SparseMatrix< Cmplx >, and concepts::SparseMatrix< Real >.

template<class F = concepts::Real>
const BiHaar3d<F>& aglowav::C2_tl2< F >::spaceX ( ) const [inline]

Spaces of the transformation.

Definition at line 133 of file operator.hh.

template<class F = concepts::Real>
const BiHaar3d<F>& aglowav::C2_tl2< F >::spaceY ( ) const [inline]

Definition at line 134 of file operator.hh.


Member Data Documentation

template<class F>
uint concepts::Operator< F >::dimX_ [protected, inherited]

Dimension of image space and the source space.

Definition at line 96 of file compositions.hh.

template<class F>
uint concepts::Operator< F >::dimY_ [protected, inherited]

Definition at line 96 of file compositions.hh.

template<class F = concepts::Real>
concepts::Real** aglowav::C2_tl2< F >::idx_ [private]

n entries, each entry points to the appropriate entry in val_

Definition at line 147 of file operator.hh.

template<class F = concepts::Real>
const BiHaar3d<F>& aglowav::C2_tl2< F >::spc_ [private]

Spaces of the transformation.

Definition at line 142 of file operator.hh.

template<class F = concepts::Real>
concepts::Real aglowav::C2_tl2< F >::t_ [private]

Definition at line 143 of file operator.hh.

template<class F = concepts::Real>
concepts::Real* aglowav::C2_tl2< F >::val_ [private]

Values of the diagonal entries (only one entry per level)

Definition at line 145 of file operator.hh.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)