Drake
eigen_pybind.h File Reference
#include <Eigen/Dense>
#include "pybind11/eigen.h"
#include "drake/common/eigen_types.h"
Include dependency graph for eigen_pybind.h:

Namespaces

 drake
 
 drake::pydrake
 

Functions

template<typename Derived >
auto ToEigenRef (Eigen::VectorBlock< Derived > *derived)
 Provides a mutable Ref<> for a pointer. More...
 
template<typename T >
py::object ToArray (T *ptr, int size, py::tuple shape)
 Converts a raw array to a numpy array. More...
 
template<typename T >
py::object ToArray (const T *ptr, int size, py::tuple shape)
 Converts a raw array to a numpy array (const variant). More...