Drake
Drake C++ Documentation
Gradient< Derived, nq, derivative_order > Struct Template Reference

Detailed Description

template<typename Derived, int nq, int derivative_order = 1>
struct drake::math::Gradient< Derived, nq, derivative_order >

Recursively defined template specifying a matrix type of the correct size for a gradient of a matrix function with respect to nq variables, of any order.

#include <drake/math/gradient.h>

Public Types

typedef Eigen::Matrix< typename Derived::Scalar,((Derived::SizeAtCompileTime==Eigen::Dynamic||nq==Eigen::Dynamic) ? Eigen::Dynamic :Gradient< Derived, nq, derivative_order - 1 >::type::SizeAtCompileTime), nq > type
 

Member Typedef Documentation

◆ type

typedef Eigen::Matrix< typename Derived::Scalar, ((Derived::SizeAtCompileTime == Eigen::Dynamic || nq == Eigen::Dynamic) ? Eigen::Dynamic : Gradient<Derived, nq, derivative_order - 1>::type::SizeAtCompileTime), nq> type

The documentation for this struct was generated from the following file: