|
Drake
|
Utilities for arithmetic on AutoDiffScalar. More...
#include <cmath>#include <Eigen/Dense>#include <unsupported/Eigen/AutoDiff>#include "drake/math/gradient.h"

Go to the source code of this file.
Classes | |
| struct | AutoDiffToValueMatrix< Derived > |
| struct | AutoDiffToGradientMatrix< Derived > |
Namespaces | |
| drake | |
| drake::math | |
Functions | |
| template<typename DerType > | |
| double | round (const Eigen::AutoDiffScalar< DerType > &x) |
| Overloads round to mimic std::round from <cmath>. More... | |
| template<typename DerType > | |
| double | floor (const Eigen::AutoDiffScalar< DerType > &x) |
| Overloads floor to mimic std::floor from <cmath>. More... | |
| template<typename Derived > | |
| AutoDiffToValueMatrix< Derived >::type | autoDiffToValueMatrix (const Eigen::MatrixBase< Derived > &auto_diff_matrix) |
| template<typename Derived > | |
| AutoDiffToGradientMatrix< Derived >::type | autoDiffToGradientMatrix (const Eigen::MatrixBase< Derived > &auto_diff_matrix, int num_variables=Eigen::Dynamic) |
Utilities for arithmetic on AutoDiffScalar.
| double floor | ( | const Eigen::AutoDiffScalar< DerType > & | x | ) |
Overloads floor to mimic std::floor from <cmath>.
Must appear in global namespace so that ADL can select between this implementation and the STL one.

| double round | ( | const Eigen::AutoDiffScalar< DerType > & | x | ) |
Overloads round to mimic std::round from <cmath>.
Must appear in global namespace so that ADL can select between this implementation and the STL one.
