compbio
Public Member Functions | Protected Types | Protected Attributes | List of all members
Eigen::MatrixSquareRootReturnValue< Derived > Class Template Reference

Proxy for the matrix square root of some matrix (expression). More...

#include <MatrixSquareRoot.h>

Inheritance diagram for Eigen::MatrixSquareRootReturnValue< Derived >:
Eigen::ReturnByValue< MatrixSquareRootReturnValue< Derived > > Eigen::internal::no_assignment_operator

Public Member Functions

 MatrixSquareRootReturnValue (const Derived &src)
 Constructor. More...
 
template<typename ResultType >
void evalTo (ResultType &result) const
 Compute the matrix square root. More...
 
Index rows () const
 
Index cols () const
 
- Public Member Functions inherited from Eigen::ReturnByValue< MatrixSquareRootReturnValue< Derived > >
EIGEN_DEVICE_FUNC void evalTo (Dest &dst) const
 
EIGEN_DEVICE_FUNC Index rows () const
 
EIGEN_DEVICE_FUNC Index cols () const
 
const Unusable & coeff (Index) const
 
const Unusable & coeff (Index, Index) const
 
Unusable & coeffRef (Index)
 
Unusable & coeffRef (Index, Index)
 

Protected Types

typedef Derived::Index Index
 
typedef internal::ref_selector< Derived >::type DerivedNested
 

Protected Attributes

const DerivedNested m_src
 

Additional Inherited Members

- Public Types inherited from Eigen::ReturnByValue< MatrixSquareRootReturnValue< Derived > >
typedef internal::traits< MatrixSquareRootReturnValue< Derived > >::ReturnType ReturnType
 
typedef internal::dense_xpr_base< ReturnByValue >::type Base
 

Detailed Description

template<typename Derived>
class Eigen::MatrixSquareRootReturnValue< Derived >

Proxy for the matrix square root of some matrix (expression).

Template Parameters
DerivedType of the argument to the matrix square root.

This class holds the argument to the matrix square root until it is assigned or evaluated for some other reason (so the argument should not be changed in the meantime). It is the return type of MatrixBase::sqrt() and most of the time this is the only way it is used.

Constructor & Destructor Documentation

§ MatrixSquareRootReturnValue()

template<typename Derived>
Eigen::MatrixSquareRootReturnValue< Derived >::MatrixSquareRootReturnValue ( const Derived &  src)
inlineexplicit

Constructor.

Parameters
[in]srcMatrix (expression) forming the argument of the matrix square root.

Member Function Documentation

§ evalTo()

template<typename Derived>
template<typename ResultType >
void Eigen::MatrixSquareRootReturnValue< Derived >::evalTo ( ResultType &  result) const
inline

Compute the matrix square root.

Parameters
[out]resultthe matrix square root of src in the constructor.

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