Please, help us to better know about our user community by answering the following short survey: https://forms.gle/wpyrxWi18ox9Z5ae9
 Eigen-unsupported  3.4.99 (git rev 199c5f2b47eb1f8e5a2d20e60f07e97cd95a6ba6)
Eigen::MatrixPowerAtomic< MatrixType > Class Template Reference

## Detailed Description

### 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.

## Public Member Functions

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: