Public Types | Public Member Functions | Private Attributes | List of all members
Eigen::MatrixComplexPowerReturnValue< Derived > Class Template Reference

Proxy for the matrix power of some matrix (expression). More...

#include <ForwardDeclarations.h>

Public Types

typedef std::complex< typename Derived::RealScalarComplexScalar
 
typedef Derived::PlainObject PlainObject
 

Public Member Functions

Index cols () const
 
template<typename ResultType >
void evalTo (ResultType &result) const
 Compute the matrix power. More...
 
 MatrixComplexPowerReturnValue (const Derived &A, const ComplexScalar &p)
 Constructor. More...
 
Index rows () const
 

Private Attributes

const Derived & m_A
 
const ComplexScalar m_p
 

Detailed Description

template<typename Derived>
class Eigen::MatrixComplexPowerReturnValue< Derived >

Proxy for the matrix power of some matrix (expression).

Template Parameters
Derivedtype of the base, a matrix (expression).

This class holds the arguments to the matrix power until it is assigned or evaluated for some other reason (so the argument should not be changed in the meantime). It is the return type of MatrixBase::pow() and related functions and most of the time this is the only way it is used.

Definition at line 309 of file ForwardDeclarations.h.

Member Typedef Documentation

◆ ComplexScalar

template<typename Derived >
typedef std::complex<typename Derived::RealScalar> Eigen::MatrixComplexPowerReturnValue< Derived >::ComplexScalar

Definition at line 647 of file MatrixPower.h.

◆ PlainObject

template<typename Derived >
typedef Derived::PlainObject Eigen::MatrixComplexPowerReturnValue< Derived >::PlainObject

Definition at line 646 of file MatrixPower.h.

Constructor & Destructor Documentation

◆ MatrixComplexPowerReturnValue()

template<typename Derived >
Eigen::MatrixComplexPowerReturnValue< Derived >::MatrixComplexPowerReturnValue ( const Derived &  A,
const ComplexScalar p 
)
inline

Constructor.

Parameters
[in]AMatrix (expression), the base of the matrix power.
[in]pcomplex scalar, the exponent of the matrix power.

Definition at line 655 of file MatrixPower.h.

Member Function Documentation

◆ cols()

template<typename Derived >
Index Eigen::MatrixComplexPowerReturnValue< Derived >::cols ( ) const
inline

Definition at line 672 of file MatrixPower.h.

◆ evalTo()

template<typename Derived >
template<typename ResultType >
void Eigen::MatrixComplexPowerReturnValue< Derived >::evalTo ( ResultType &  result) const
inline

Compute the matrix power.

Because p is complex, $ A^p $ is simply evaluated as $ \exp(p \log(A)) $.

Parameters
[out]result$ A^p $ where A and p are as in the constructor.

Definition at line 668 of file MatrixPower.h.

◆ rows()

template<typename Derived >
Index Eigen::MatrixComplexPowerReturnValue< Derived >::rows ( ) const
inline

Definition at line 671 of file MatrixPower.h.

Member Data Documentation

◆ m_A

template<typename Derived >
const Derived& Eigen::MatrixComplexPowerReturnValue< Derived >::m_A
private

Definition at line 675 of file MatrixPower.h.

◆ m_p

template<typename Derived >
const ComplexScalar Eigen::MatrixComplexPowerReturnValue< Derived >::m_p
private

Definition at line 676 of file MatrixPower.h.


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


gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:10:05