Public Types | Public Member Functions | Private Member Functions | Private Attributes
MatrixFunctionAtomic< MatrixType > Class Template Reference

Helper class for computing matrix functions of atomic matrices. More...

#include <MatrixFunctionAtomic.h>

List of all members.

Public Types

typedef MatrixType::Index Index
typedef NumTraits< Scalar >::Real RealScalar
typedef MatrixType::Scalar Scalar
typedef
internal::stem_function
< Scalar >::type 
StemFunction
typedef Matrix< Scalar,
MatrixType::RowsAtCompileTime, 1 > 
VectorType

Public Member Functions

MatrixType compute (const MatrixType &A)
 Compute matrix function of atomic matrix.
 MatrixFunctionAtomic (StemFunction f)
 Constructor.

Private Member Functions

void computeMu ()
 Compute m_mu.
 MatrixFunctionAtomic (const MatrixFunctionAtomic &)
MatrixFunctionAtomicoperator= (const MatrixFunctionAtomic &)
bool taylorConverged (Index s, const MatrixType &F, const MatrixType &Fincr, const MatrixType &P)
 Determine whether Taylor series has converged.

Private Attributes

Index m_Arows
 Size of matrix function.
MatrixType m_Ashifted
 Argument shifted by mean of eigenvalues.
Scalar m_avgEival
 Mean of eigenvalues.
StemFunctionm_f
 Pointer to scalar function.
RealScalar m_mu
 Constant used to determine whether Taylor series has converged.

Detailed Description

template<typename MatrixType>
class MatrixFunctionAtomic< MatrixType >

Helper class for computing matrix functions of atomic matrices.

Definition at line 37 of file MatrixFunctionAtomic.h.


Member Typedef Documentation

template<typename MatrixType>
typedef MatrixType::Index MatrixFunctionAtomic< MatrixType >::Index

Definition at line 42 of file MatrixFunctionAtomic.h.

template<typename MatrixType>
typedef NumTraits<Scalar>::Real MatrixFunctionAtomic< MatrixType >::RealScalar

Definition at line 43 of file MatrixFunctionAtomic.h.

template<typename MatrixType>
typedef MatrixType::Scalar MatrixFunctionAtomic< MatrixType >::Scalar

Definition at line 41 of file MatrixFunctionAtomic.h.

template<typename MatrixType>
typedef internal::stem_function<Scalar>::type MatrixFunctionAtomic< MatrixType >::StemFunction

Definition at line 44 of file MatrixFunctionAtomic.h.

template<typename MatrixType>
typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> MatrixFunctionAtomic< MatrixType >::VectorType

Definition at line 45 of file MatrixFunctionAtomic.h.


Constructor & Destructor Documentation

template<typename MatrixType>
MatrixFunctionAtomic< MatrixType >::MatrixFunctionAtomic ( StemFunction  f) [inline]

Constructor.

Parameters:
[in]fmatrix function to compute.

Definition at line 50 of file MatrixFunctionAtomic.h.

template<typename MatrixType>
MatrixFunctionAtomic< MatrixType >::MatrixFunctionAtomic ( const MatrixFunctionAtomic< MatrixType > &  ) [private]

Member Function Documentation

template<typename MatrixType >
MatrixType MatrixFunctionAtomic< MatrixType >::compute ( const MatrixType A)

Compute matrix function of atomic matrix.

Parameters:
[in]Aargument of matrix function, should be upper triangular and atomic
Returns:
f(A), the matrix function evaluated at the given matrix

Definition at line 84 of file MatrixFunctionAtomic.h.

template<typename MatrixType >
void MatrixFunctionAtomic< MatrixType >::computeMu ( ) [private]

Compute m_mu.

Definition at line 108 of file MatrixFunctionAtomic.h.

template<typename MatrixType>
MatrixFunctionAtomic& MatrixFunctionAtomic< MatrixType >::operator= ( const MatrixFunctionAtomic< MatrixType > &  ) [private]
template<typename MatrixType >
bool MatrixFunctionAtomic< MatrixType >::taylorConverged ( Index  s,
const MatrixType F,
const MatrixType Fincr,
const MatrixType P 
) [private]

Determine whether Taylor series has converged.

Definition at line 118 of file MatrixFunctionAtomic.h.


Member Data Documentation

template<typename MatrixType>
Index MatrixFunctionAtomic< MatrixType >::m_Arows [private]

Size of matrix function.

Definition at line 71 of file MatrixFunctionAtomic.h.

template<typename MatrixType>
MatrixType MatrixFunctionAtomic< MatrixType >::m_Ashifted [private]

Argument shifted by mean of eigenvalues.

Definition at line 77 of file MatrixFunctionAtomic.h.

template<typename MatrixType>
Scalar MatrixFunctionAtomic< MatrixType >::m_avgEival [private]

Mean of eigenvalues.

Definition at line 74 of file MatrixFunctionAtomic.h.

template<typename MatrixType>
StemFunction* MatrixFunctionAtomic< MatrixType >::m_f [private]

Pointer to scalar function.

Definition at line 68 of file MatrixFunctionAtomic.h.

template<typename MatrixType>
RealScalar MatrixFunctionAtomic< MatrixType >::m_mu [private]

Constant used to determine whether Taylor series has converged.

Definition at line 80 of file MatrixFunctionAtomic.h.


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


libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:34:23