OSVR-Core
|
Class for computing the matrix exponential. More...
#include <MatrixExponential.h>
Public Member Functions | |
MatrixExponential (const MatrixType &M) | |
Constructor. More... | |
template<typename ResultType > | |
void | compute (ResultType &result) |
Computes the matrix exponential. More... | |
Class for computing the matrix exponential.
MatrixType | type of the argument of the exponential, expected to be an instantiation of the Matrix class template. |
Eigen::MatrixExponential< MatrixType >::MatrixExponential | ( | const MatrixType & | M | ) |
Constructor.
The class stores a reference to M
, so it should not be changed (or destroyed) before compute() is called.
[in] | M | matrix whose exponential is to be computed. |
void Eigen::MatrixExponential< MatrixType >::compute | ( | ResultType & | result | ) |
Computes the matrix exponential.
[out] | result | the matrix exponential of M in the constructor. |