Proxy for the matrix power of some matrix (expression). More...
#include <ForwardDeclarations.h>
Public Types | |
typedef std::complex< typename Derived::RealScalar > | ComplexScalar |
typedef Derived::Index | Index |
typedef Derived::PlainObject | PlainObject |
Public Types inherited from Eigen::ReturnByValue< MatrixComplexPowerReturnValue< Derived > > | |
typedef internal::dense_xpr_base< ReturnByValue >::type | Base |
typedef internal::traits< MatrixComplexPowerReturnValue< Derived > >::ReturnType | ReturnType |
Public Member Functions | |
Index | cols () const |
template<typename ResultType > | |
void | evalTo (ResultType &res) const |
Compute the matrix power. More... | |
MatrixComplexPowerReturnValue (const Derived &A, const ComplexScalar &p) | |
Constructor. More... | |
Index | rows () const |
Public Member Functions inherited from Eigen::ReturnByValue< MatrixComplexPowerReturnValue< Derived > > | |
const Unusable & | coeff (Index) const |
const Unusable & | coeff (Index, Index) const |
Unusable & | coeffRef (Index) |
Unusable & | coeffRef (Index, Index) |
EIGEN_DEVICE_FUNC Index | cols () const |
EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
EIGEN_DEVICE_FUNC Index | rows () const |
Private Attributes | |
const Derived & | m_A |
const ComplexScalar | m_p |
Proxy for the matrix power of some matrix (expression).
Derived | type 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 289 of file ForwardDeclarations.h.
typedef std::complex<typename Derived::RealScalar> Eigen::MatrixComplexPowerReturnValue< Derived >::ComplexScalar |
Definition at line 650 of file MatrixPower.h.
typedef Derived::Index Eigen::MatrixComplexPowerReturnValue< Derived >::Index |
Definition at line 651 of file MatrixPower.h.
typedef Derived::PlainObject Eigen::MatrixComplexPowerReturnValue< Derived >::PlainObject |
Definition at line 649 of file MatrixPower.h.
|
inline |
Constructor.
[in] | A | Matrix (expression), the base of the matrix power. |
[in] | p | complex scalar, the exponent of the matrix power. |
Definition at line 659 of file MatrixPower.h.
|
inline |
Definition at line 676 of file MatrixPower.h.
|
inline |
Compute the matrix power.
Because p
is complex, is simply evaluated as .
[out] | result | where A and p are as in the constructor. |
Definition at line 672 of file MatrixPower.h.
|
inline |
Definition at line 675 of file MatrixPower.h.
|
private |
Definition at line 679 of file MatrixPower.h.
|
private |
Definition at line 680 of file MatrixPower.h.