Proxy for the matrix function of some matrix (expression). More...
#include <MatrixFunction.h>
Public Types | |
typedef Derived::Index | Index |
typedef Derived::Scalar | Scalar |
typedef internal::stem_function < Scalar >::type | StemFunction |
Public Member Functions | |
Index | cols () const |
template<typename ResultType > | |
void | evalTo (ResultType &result) const |
Compute the matrix function. | |
MatrixFunctionReturnValue (const Derived &A, StemFunction f) | |
Constructor. | |
Index | rows () const |
Private Member Functions | |
MatrixFunctionReturnValue & | operator= (const MatrixFunctionReturnValue &) |
Private Attributes | |
internal::nested< Derived >::type | 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.
Definition at line 498 of file MatrixFunction.h.
typedef Derived::Index MatrixFunctionReturnValue< Derived >::Index |
Definition at line 504 of file MatrixFunction.h.
typedef Derived::Scalar MatrixFunctionReturnValue< Derived >::Scalar |
Definition at line 503 of file MatrixFunction.h.
typedef internal::stem_function<Scalar>::type MatrixFunctionReturnValue< Derived >::StemFunction |
Definition at line 505 of file MatrixFunction.h.
MatrixFunctionReturnValue< Derived >::MatrixFunctionReturnValue | ( | const Derived & | A, |
StemFunction | f | ||
) | [inline] |
Constructor.
[in] | A | Matrix (expression) forming the argument of the matrix function. |
[in] | f | Stem function for matrix function under consideration. |
Definition at line 513 of file MatrixFunction.h.
Index MatrixFunctionReturnValue< Derived >::cols | ( | void | ) | const [inline] |
Reimplemented from ReturnByValue< MatrixFunctionReturnValue< Derived > >.
Definition at line 529 of file MatrixFunction.h.
void MatrixFunctionReturnValue< Derived >::evalTo | ( | ResultType & | result | ) | const [inline] |
Compute the matrix function.
Definition at line 521 of file MatrixFunction.h.
MatrixFunctionReturnValue& MatrixFunctionReturnValue< Derived >::operator= | ( | const MatrixFunctionReturnValue< Derived > & | ) | [private] |
Index MatrixFunctionReturnValue< Derived >::rows | ( | void | ) | const [inline] |
Reimplemented from ReturnByValue< MatrixFunctionReturnValue< Derived > >.
Definition at line 528 of file MatrixFunction.h.
internal::nested<Derived>::type MatrixFunctionReturnValue< Derived >::m_A [private] |
Definition at line 532 of file MatrixFunction.h.
StemFunction* MatrixFunctionReturnValue< Derived >::m_f [private] |
Definition at line 533 of file MatrixFunction.h.