Proxy for the matrix power of some matrix (expression). More...
#include <MatrixPower.h>
Public Types | |
typedef Derived::Index | Index |
typedef Derived::PlainObject | PlainObject |
typedef Derived::RealScalar | RealScalar |
Public Member Functions | |
Index | cols () const |
template<typename ResultType > | |
void | evalTo (ResultType &res) const |
Compute the matrix power. | |
MatrixPowerReturnValue (const Derived &A, RealScalar p) | |
Constructor. | |
Index | rows () const |
Private Member Functions | |
MatrixPowerReturnValue & | operator= (const MatrixPowerReturnValue &) |
Private Attributes | |
const Derived & | m_A |
const RealScalar | 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 456 of file MatrixPower.h.
typedef Derived::Index Eigen::MatrixPowerReturnValue< Derived >::Index |
Definition at line 461 of file MatrixPower.h.
typedef Derived::PlainObject Eigen::MatrixPowerReturnValue< Derived >::PlainObject |
Definition at line 459 of file MatrixPower.h.
typedef Derived::RealScalar Eigen::MatrixPowerReturnValue< Derived >::RealScalar |
Definition at line 460 of file MatrixPower.h.
Eigen::MatrixPowerReturnValue< Derived >::MatrixPowerReturnValue | ( | const Derived & | A, |
RealScalar | p | ||
) | [inline] |
Constructor.
[in] | A | Matrix (expression), the base of the matrix power. |
[in] | p | scalar, the exponent of the matrix power. |
Definition at line 469 of file MatrixPower.h.
Index Eigen::MatrixPowerReturnValue< Derived >::cols | ( | void | ) | const [inline] |
Reimplemented from Eigen::ReturnByValue< MatrixPowerReturnValue< Derived > >.
Definition at line 483 of file MatrixPower.h.
void Eigen::MatrixPowerReturnValue< Derived >::evalTo | ( | ResultType & | res | ) | const [inline] |
Compute the matrix power.
[out] | result | where A and p are as in the constructor. |
Definition at line 479 of file MatrixPower.h.
MatrixPowerReturnValue& Eigen::MatrixPowerReturnValue< Derived >::operator= | ( | const MatrixPowerReturnValue< Derived > & | ) | [private] |
Index Eigen::MatrixPowerReturnValue< Derived >::rows | ( | void | ) | const [inline] |
Reimplemented from Eigen::ReturnByValue< MatrixPowerReturnValue< Derived > >.
Definition at line 482 of file MatrixPower.h.
const Derived& Eigen::MatrixPowerReturnValue< Derived >::m_A [private] |
Definition at line 486 of file MatrixPower.h.
const RealScalar Eigen::MatrixPowerReturnValue< Derived >::m_p [private] |
Definition at line 487 of file MatrixPower.h.