Drake
autodiff_test_utilities.h File Reference
#include "drake/common/autodiff.h"
#include "drake/common/test_utilities/eigen_matrix_compare.h"
Include dependency graph for autodiff_test_utilities.h:

Go to the source code of this file.

Namespaces

 drake
 
 drake::automotive
 
 drake::automotive::test
 

Functions

void SetDerivatives (AutoDiffXd *variable, const Eigen::VectorXd &desired)
 
void SetDerivatives (double *, const Eigen::VectorXd &)
 
void CheckDerivatives (const AutoDiffXd &variable, const Eigen::VectorXd &expected, const double tol=1e-9)
 
void CheckDerivatives (const double &, const Eigen::VectorXd &)
 
void CheckDerivativePositivity (int i, const AutoDiffXd &variable)
 
void CheckDerivativePositivity (int, const double &)
 
void CheckDerivativeNegativity (int i, const AutoDiffXd &variable)
 
void CheckDerivativeNegativity (int, const double &)