Proxy for the matrix function of some matrix (expression). More...
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 |
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.
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. |
void evalTo | ( | ResultType & | result | ) | const [inline] |
Compute the matrix function.
[out] | result | f applied to A , where f and A are as in the constructor. |