All Classes Namespaces Functions Variables Typedefs Enumerator Groups Pages
MatrixSquareRoot< MatrixType, IsComplex > Class Template Reference

Detailed Description

template<typename MatrixType, int IsComplex = NumTraits<typename internal::traits<MatrixType>::Scalar>::IsComplex>
class Eigen::MatrixSquareRoot< MatrixType, IsComplex >

Class for computing matrix square roots of general matrices.

Template Parameters
MatrixTypetype of the argument of the matrix square root, expected to be an instantiation of the Matrix class template.
See Also
MatrixSquareRootTriangular, MatrixSquareRootQuasiTriangular, MatrixBase::sqrt()

Public Member Functions

template<typename ResultType >
void compute (ResultType &result)
 Compute the matrix square root. More...
 
 MatrixSquareRoot (const MatrixType &A)
 Constructor. More...
 

Constructor & Destructor Documentation

MatrixSquareRoot ( const MatrixType &  A)

Constructor.

Parameters
[in]Amatrix 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.

Member Function Documentation

void compute ( ResultType &  result)

Compute the matrix square root.

Parameters
[out]resultsquare root of A, as specified in the constructor.

See MatrixBase::sqrt() for details on how this computation is implemented.


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