Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Private Member Functions | Private Attributes
Eigen::MatrixFunctionAtomic< MatrixType > Class Template Reference

Detailed Description

template<typename MatrixType>
class Eigen::MatrixFunctionAtomic< MatrixType >

Helper class for computing matrix functions of atomic matrices.

Definition at line 38 of file MatrixFunctions.

List of all members.

Public Types

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

Public Member Functions

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

Private Member Functions

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

Private Attributes

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

Member Typedef Documentation

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

Definition at line 43 of file MatrixFunctions.

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

Definition at line 44 of file MatrixFunctions.

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

Definition at line 42 of file MatrixFunctions.

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

Definition at line 45 of file MatrixFunctions.

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

Definition at line 46 of file MatrixFunctions.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
[in]fmatrix function to compute.

Definition at line 51 of file MatrixFunctions.

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

Member Function Documentation

template<typename MatrixType >
MatrixType Eigen::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 85 of file MatrixFunctions.

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

Compute m_mu.

Definition at line 109 of file MatrixFunctions.

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

Determine whether Taylor series has converged.

Definition at line 119 of file MatrixFunctions.


Member Data Documentation

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

Size of matrix function.

Definition at line 72 of file MatrixFunctions.

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

Argument shifted by mean of eigenvalues.

Definition at line 78 of file MatrixFunctions.

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

Mean of eigenvalues.

Definition at line 75 of file MatrixFunctions.

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

Pointer to scalar function.

Definition at line 69 of file MatrixFunctions.

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

Constant used to determine whether Taylor series has converged.

Definition at line 81 of file MatrixFunctions.




Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 Hosted on:
SourceForge.net Logo