![]() |
Eigen-unsupported
3.2.7
|
Class for computing matrix square roots of upper quasi-triangular matrices.
MatrixType | type of the argument of the matrix square root, expected to be an instantiation of the Matrix class template. |
This class computes the square root of the upper quasi-triangular matrix stored in the upper Hessenberg part of the matrix passed to the constructor.
Public Member Functions | |
template<typename ResultType > | |
void | compute (ResultType &result) |
Compute the matrix square root. More... | |
MatrixSquareRootQuasiTriangular (const MatrixType &A) | |
Constructor. More... | |
|
inline |
Constructor.
[in] | A | upper quasi-triangular matrix whose square root is to be computed. |
The class stores a reference to A
, so it should not be changed (or destroyed) before compute() is called.
void compute | ( | ResultType & | result | ) |
Compute the matrix square root.
[out] | result | square root of A , as specified in the constructor. |
Only the upper Hessenberg part of result
is updated, the rest is not touched. See MatrixBase::sqrt() for details on how this computation is implemented.