Added MakeJacobian meta-function
parent
03db69117a
commit
02b703c5c8
|
|
@ -171,6 +171,16 @@ public:
|
||||||
// forward declare
|
// forward declare
|
||||||
template <typename T> struct traits;
|
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
|
* @brief: meta-function to generate JacobianTA optional reference
|
||||||
* Used mainly by Expressions
|
* Used mainly by Expressions
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue