Added MakeJacobian meta-function

release/4.3a0
Frank Dellaert 2015-07-12 16:33:56 -07:00
parent 03db69117a
commit 02b703c5c8
1 changed files with 10 additions and 0 deletions

View File

@ -171,6 +171,16 @@ public:
// forward declare
template <typename T> struct traits;
/**
* @brief: meta-function to generate Jacobian
* @param T return type
* @param A argument type
*/
template <class T, class A>
struct MakeJacobian {
typedef Eigen::Matrix<double, traits<T>::dimension, traits<A>::dimension> type;
};
/**
* @brief: meta-function to generate JacobianTA optional reference
* Used mainly by Expressions