![]() |
Eigen-unsupported
5.0.1-dev+284dcc12
|
#include <unsupported/Eigen/src/MatrixFunctions/MatrixPower.h>
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) \).
Public Member Functions | |
| void | compute (ResultType &res) const |
| Compute the matrix power. | |
| MatrixPowerAtomic (const MatrixType &T, RealScalar p) | |
| Constructor. | |
| 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.
| 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. |