Class for computing matrix powers. More...
#include <MatrixPower.h>

Public Member Functions | |
| void | compute (ResultType &res) const |
| Compute the matrix power. More... | |
| MatrixPowerAtomic (const MatrixType &T, RealScalar p) | |
| Constructor. More... | |
Private Types | |
| enum | { RowsAtCompileTime = MatrixType::RowsAtCompileTime, MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime } |
| typedef std::complex< RealScalar > | ComplexScalar |
| typedef MatrixType::Index | Index |
| typedef MatrixType::RealScalar | RealScalar |
| typedef Block< MatrixType, Dynamic, Dynamic > | ResultType |
| typedef MatrixType::Scalar | Scalar |
Private Member Functions | |
| void | compute2x2 (ResultType &res, RealScalar p) const |
| void | computeBig (ResultType &res) const |
| void | computePade (int degree, const MatrixType &IminusT, ResultType &res) const |
Private Member Functions inherited from Eigen::internal::noncopyable | |
| EIGEN_DEVICE_FUNC | noncopyable () |
| EIGEN_DEVICE_FUNC | ~noncopyable () |
Static Private Member Functions | |
| static ComplexScalar | computeSuperDiag (const ComplexScalar &, const ComplexScalar &, RealScalar p) |
| static RealScalar | computeSuperDiag (RealScalar, RealScalar, RealScalar p) |
| static int | getPadeDegree (float normIminusT) |
| static int | getPadeDegree (double normIminusT) |
| static int | getPadeDegree (long double normIminusT) |
Private Attributes | |
| const MatrixType & | m_A |
| RealScalar | m_p |
Class for computing matrix powers.
| MatrixType | type of the base, expected to be an instantiation of the Matrix class template. |
This class is capable of computing triangular real/complex matrices raised to a power in the interval
.
Definition at line 87 of file MatrixPower.h.
|
private |
Definition at line 96 of file MatrixPower.h.
|
private |
Definition at line 97 of file MatrixPower.h.
|
private |
Definition at line 95 of file MatrixPower.h.
|
private |
Definition at line 98 of file MatrixPower.h.
|
private |
Definition at line 94 of file MatrixPower.h.
|
private |
| Enumerator | |
|---|---|
| RowsAtCompileTime | |
| MaxRowsAtCompileTime | |
Definition at line 90 of file MatrixPower.h.
| Eigen::MatrixPowerAtomic< MatrixType >::MatrixPowerAtomic | ( | const MatrixType & | T, |
| RealScalar | p | ||
| ) |
Constructor.
| [in] | T | the base of the matrix power. |
| [in] | p | the exponent of the matrix power, should be in . |
The class stores a reference to T, so it should not be changed (or destroyed) before evaluation. Only the upper triangular part of T is read.
Definition at line 136 of file MatrixPower.h.
| void Eigen::MatrixPowerAtomic< MatrixType >::compute | ( | ResultType & | res | ) | const |
Compute the matrix power.
| [out] | res | where A and p are specified in the constructor. |
Definition at line 144 of file MatrixPower.h.
|
private |
Definition at line 176 of file MatrixPower.h.
|
private |
Definition at line 195 of file MatrixPower.h.
|
private |
Definition at line 162 of file MatrixPower.h.
|
inlinestaticprivate |
Definition at line 292 of file MatrixPower.h.
|
inlinestaticprivate |
Definition at line 308 of file MatrixPower.h.
|
inlinestaticprivate |
Definition at line 236 of file MatrixPower.h.
|
inlinestaticprivate |
Definition at line 247 of file MatrixPower.h.
|
inlinestaticprivate |
Definition at line 259 of file MatrixPower.h.
|
private |
Definition at line 100 of file MatrixPower.h.
|
private |
Definition at line 101 of file MatrixPower.h.