![]() |
|
Proxy for the matrix function of some matrix (expression). More...
#include <MatrixFunction.h>
Public Types | |
typedef Derived::Scalar | Scalar |
typedef internal::stem_function< Scalar >::type | StemFunction |
![]() | |
typedef internal::traits< MatrixFunctionReturnValue< Derived > >::ReturnType | ReturnType |
typedef internal::dense_xpr_base< ReturnByValue >::type | Base |
Public Member Functions | |
MatrixFunctionReturnValue (const Derived &A, StemFunction f) | |
Constructor. More... | |
template<typename ResultType > | |
void | evalTo (ResultType &result) const |
Compute the matrix function. More... | |
Index | rows () const |
Index | cols () const |
![]() | |
EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
const Unusable & | coeff (Index) const |
const Unusable & | coeff (Index, Index) const |
Unusable & | coeffRef (Index) |
Unusable & | coeffRef (Index, Index) |
Protected Types | |
typedef internal::ref_selector< Derived >::type | DerivedNested |
Private Attributes | |
const DerivedNested | m_A |
StemFunction * | m_f |
Proxy for the matrix function of some matrix (expression).
Derived | Type of the argument to the matrix function. |
This class holds the argument to the matrix function 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::matrixFunction() and related functions and most of the time this is the only way it is used.
|
protected |
typedef Derived::Scalar Eigen::MatrixFunctionReturnValue< Derived >::Scalar |
typedef internal::stem_function<Scalar>::type Eigen::MatrixFunctionReturnValue< Derived >::StemFunction |
|
inline |
Constructor.
[in] | A | Matrix (expression) forming the argument of the matrix function. |
[in] | f | Stem function for matrix function under consideration. |
|
inline |
References Eigen::MatrixFunctionReturnValue< Derived >::m_A.
Referenced by gdb.printers._MatrixEntryIterator::__next__(), gdb.printers.EigenMatrixPrinter::children(), gdb.printers.EigenSparseMatrixPrinter::children(), gdb.printers.EigenMatrixPrinter::to_string(), and gdb.printers.EigenSparseMatrixPrinter::to_string().
|
inline |
Compute the matrix function.
[out] | result | f applied to A , where f and A are as in the constructor. |
References Eigen::MatrixFunctionReturnValue< Derived >::m_A, Eigen::MatrixFunctionReturnValue< Derived >::m_f, and Eigen::internal::matrix_function_compute< MatrixType, IsComplex >::run().
|
inline |
References Eigen::MatrixFunctionReturnValue< Derived >::m_A.
Referenced by gdb.printers._MatrixEntryIterator::__next__(), gdb.printers.EigenMatrixPrinter::children(), gdb.printers.EigenSparseMatrixPrinter::children(), gdb.printers.EigenMatrixPrinter::to_string(), and gdb.printers.EigenSparseMatrixPrinter::to_string().
|
private |
|
private |
Referenced by Eigen::MatrixFunctionReturnValue< Derived >::evalTo().