Class for computing matrix exponentials. More...
#include <MatrixFunction.h>
Public Member Functions | |
| template<typename ResultType > | |
| void | compute (ResultType &result) |
| Compute the matrix function. | |
| MatrixFunction (const MatrixType &A, StemFunction f) | |
| Constructor. | |
Private Types | |
| typedef internal::traits < MatrixType >::Index | Index |
| typedef internal::traits < MatrixType >::Scalar | Scalar |
| typedef internal::stem_function < Scalar >::type | StemFunction |
Class for computing matrix exponentials.
| MatrixType | type of the argument of the matrix function, expected to be an instantiation of the Matrix class template. |
Definition at line 38 of file MatrixFunction.h.
typedef internal::traits<MatrixType>::Index MatrixFunction< MatrixType, IsComplex >::Index [private] |
Definition at line 33 of file MatrixFunction.h.
typedef internal::traits<MatrixType>::Scalar MatrixFunction< MatrixType, IsComplex >::Scalar [private] |
Definition at line 34 of file MatrixFunction.h.
typedef internal::stem_function<Scalar>::type MatrixFunction< MatrixType, IsComplex >::StemFunction [private] |
Definition at line 35 of file MatrixFunction.h.
| MatrixFunction< MatrixType, IsComplex >::MatrixFunction | ( | const MatrixType & | A, | |
| StemFunction | f | |||
| ) |
Constructor.
| [in] | A | argument of matrix function, should be a square matrix. |
| [in] | f | an entire function; f(x,n) should compute the n-th derivative of f at x. |
The class stores a reference to A, so it should not be changed (or destroyed) before compute() is called.
| void MatrixFunction< MatrixType, IsComplex >::compute | ( | ResultType & | result | ) | [inline] |
Compute the matrix function.
| [out] | result | the function f applied to A, as specified in the constructor. |
See MatrixBase::matrixFunction() for details on how this computation is implemented.