Eigen::MatrixPowerParenthesesReturnValue< MatrixType > Class Template Reference

Proxy for the matrix power of some matrix. More...

#include <MatrixPower.h>

+ Inheritance diagram for Eigen::MatrixPowerParenthesesReturnValue< MatrixType >:

Public Types

typedef MatrixType::RealScalar RealScalar
 
- Public Types inherited from Eigen::ReturnByValue< MatrixPowerParenthesesReturnValue< MatrixType > >
typedef internal::traits< MatrixPowerParenthesesReturnValue< MatrixType > >::ReturnType ReturnType
 
typedef internal::dense_xpr_base< ReturnByValue >::type Base
 

Public Member Functions

 MatrixPowerParenthesesReturnValue (MatrixPower< MatrixType > &pow, RealScalar p)
 Constructor. More...
 
template<typename ResultType >
void evalTo (ResultType &result) const
 Compute the matrix power. More...
 
Index rows () const
 
Index cols () const
 
- Public Member Functions inherited from Eigen::ReturnByValue< MatrixPowerParenthesesReturnValue< MatrixType > >
EIGEN_DEVICE_FUNC void evalTo (Dest &dst) const
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows () const EIGEN_NOEXCEPT
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols () const EIGEN_NOEXCEPT
 
const Unusablecoeff (Index) const
 
const Unusablecoeff (Index, Index) const
 
UnusablecoeffRef (Index)
 
UnusablecoeffRef (Index, Index)
 

Private Attributes

MatrixPower< MatrixType > & m_pow
 
const RealScalar m_p
 

Detailed Description

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

Proxy for the matrix power of some matrix.

Template Parameters
MatrixTypetype of the base, a matrix.

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 MatrixPower::operator() and related functions and most of the time this is the only way it is used.

Member Typedef Documentation

◆ RealScalar

template<typename MatrixType >
typedef MatrixType::RealScalar Eigen::MatrixPowerParenthesesReturnValue< MatrixType >::RealScalar

Constructor & Destructor Documentation

◆ MatrixPowerParenthesesReturnValue()

Constructor.

Parameters
[in]powMatrixPower storing the base.
[in]pscalar, the exponent of the matrix power.
53 : m_pow(pow), m_p(p) {}
float * p
Definition: Tutorial_Map_using.cpp:9
const RealScalar m_p
Definition: MatrixPower.h:70
MatrixPower< MatrixType > & m_pow
Definition: MatrixPower.h:69
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 pow(const bfloat16 &a, const bfloat16 &b)
Definition: BFloat16.h:625

Member Function Documentation

◆ cols()

◆ evalTo()

template<typename MatrixType >
template<typename ResultType >
void Eigen::MatrixPowerParenthesesReturnValue< MatrixType >::evalTo ( ResultType &  result) const
inline

Compute the matrix power.

Parameters
[out]result
61  {
62  m_pow.compute(result, m_p);
63  }

References Eigen::MatrixPowerParenthesesReturnValue< MatrixType >::m_p, and Eigen::MatrixPowerParenthesesReturnValue< MatrixType >::m_pow.

◆ rows()

Member Data Documentation

◆ m_p

◆ m_pow


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