W3cubDocs

/Eigen3

Eigen::MatrixPowerAtomic

template<typename MatrixType>
class Eigen::MatrixPowerAtomic< MatrixType >

Class for computing matrix powers.

Template Parameters
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) \).

Note
Currently this class is only used by MatrixPower. One may insist that this be nested into MatrixPower. This class is here to facilitate future development of triangular matrix functions.

Inherits internal::noncopyable.

void compute (ResultType &res) const
Compute the matrix power. More...
MatrixPowerAtomic (const MatrixType &T, RealScalar p)
Constructor. More...

MatrixPowerAtomic()

template<typename MatrixType >
Eigen::MatrixPowerAtomic< MatrixType >::MatrixPowerAtomic ( const MatrixType & T,
RealScalar p
)

Constructor.

Parameters
[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.

compute()

template<typename MatrixType >
void Eigen::MatrixPowerAtomic< MatrixType >::compute ( ResultType & res ) const

Compute the matrix power.

Parameters
[out] res \( A^p \) where A and p are specified in the constructor.

The documentation for this class was generated from the following file: