OSVR-Core
|
Proxy for the matrix power of some matrix (expression). More...
#include <MatrixPower.h>
Public Types | |
typedef Derived::PlainObject | PlainObject |
typedef Derived::RealScalar | RealScalar |
typedef Derived::Index | Index |
![]() | |
typedef internal::traits< MatrixPowerReturnValue< Derived > >::ReturnType | ReturnType |
typedef internal::dense_xpr_base< ReturnByValue >::type | Base |
Public Member Functions | |
MatrixPowerReturnValue (const Derived &A, RealScalar p) | |
Constructor. More... | |
template<typename ResultType > | |
void | evalTo (ResultType &res) const |
Compute the matrix power. More... | |
Index | rows () const |
Index | cols () const |
![]() | |
void | evalTo (Dest &dst) const |
Index | rows () const |
Index | cols () const |
const Unusable & | coeff (Index) const |
const Unusable & | coeff (Index, Index) const |
Unusable & | coeffRef (Index) |
Unusable & | coeffRef (Index, Index) |
Unusable & | packet (Index) const |
Unusable & | packet (Index, Index) const |
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.
|
inline |
Constructor.
[in] | A | Matrix (expression), the base of the matrix power. |
[in] | p | scalar, the exponent of the matrix power. |
|
inline |
Compute the matrix power.
[out] | result | \( A^p \) where A and p are as in the constructor. |