Drake
autodiff_types_pybind.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Eigen/Core>
4 #include "pybind11/pybind11.h"
5 
6 #include "drake/bindings/pydrake/pydrake_pybind.h"
7 #include "drake/common/autodiff.h"
8 
9 // The macro `PYBIND11_NUMPY_OBJECT_DTYPE` place symbols into the namespace
10 // `pybind11::detail`, so we should not place these in `drake::pydrake`.
11 
Eigen::AutoDiffScalar< Eigen::VectorXd > AutoDiffXd
An autodiff variable with a dynamic number of partials.
Definition: eigen_autodiff_types.h:22
PYBIND11_NUMPY_OBJECT_DTYPE(drake::AutoDiffXd)