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::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 (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 .
Definition at line 86 of file MatrixPower.h.
|
private |
Definition at line 95 of file MatrixPower.h.
|
private |
Definition at line 94 of file MatrixPower.h.
|
private |
Definition at line 96 of file MatrixPower.h.
|
private |
Definition at line 93 of file MatrixPower.h.
|
private |
Enumerator | |
---|---|
RowsAtCompileTime | |
MaxRowsAtCompileTime |
Definition at line 89 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 134 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 142 of file MatrixPower.h.
|
private |
Definition at line 174 of file MatrixPower.h.
|
private |
Definition at line 193 of file MatrixPower.h.
|
private |
Definition at line 160 of file MatrixPower.h.
|
inlinestaticprivate |
Definition at line 291 of file MatrixPower.h.
|
inlinestaticprivate |
Definition at line 307 of file MatrixPower.h.
|
inlinestaticprivate |
Definition at line 246 of file MatrixPower.h.
|
inlinestaticprivate |
Definition at line 235 of file MatrixPower.h.
|
inlinestaticprivate |
Definition at line 258 of file MatrixPower.h.
|
private |
Definition at line 98 of file MatrixPower.h.
|
private |
Definition at line 99 of file MatrixPower.h.