Class for computing matrix powers. More...
Inherits internal::noncopyable.
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 , MaxRowsAtCompileTime } |
| typedef std::complex< RealScalar > | ComplexScalar |
| 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 |
Static Private Member Functions | |
| static ComplexScalar | computeSuperDiag (const ComplexScalar &, const ComplexScalar &, RealScalar p) |
| static RealScalar | computeSuperDiag (RealScalar, RealScalar, RealScalar p) |
| static int | getPadeDegree (double normIminusT) |
| static int | getPadeDegree (float 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 \( (-1, 1) \).
Definition at line 88 of file MatrixPower.h.
|
private |
Definition at line 97 of file MatrixPower.h.
|
private |
Definition at line 96 of file MatrixPower.h.
|
private |
Definition at line 98 of file MatrixPower.h.
|
private |
Definition at line 95 of file MatrixPower.h.
|
private |
| 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 \( (-1, 1) \). |
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 | \( A^p \) 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 293 of file MatrixPower.h.
|
inlinestaticprivate |
Definition at line 309 of file MatrixPower.h.
|
inlinestaticprivate |
Definition at line 248 of file MatrixPower.h.
|
inlinestaticprivate |
Definition at line 237 of file MatrixPower.h.
|
inlinestaticprivate |
Definition at line 260 of file MatrixPower.h.
|
private |
Definition at line 100 of file MatrixPower.h.
|
private |
Definition at line 101 of file MatrixPower.h.