#include "drake/common/eigen_types.h"
Namespaces | |
drake | |
Functions | |
double | ExtractDoubleOrThrow (double scalar) |
Returns scalar as a double. Never throws. More... | |
template<typename Derived > | |
std::enable_if_t< std::is_same_v< typename Derived::Scalar, double >, MatrixLikewise< double, Derived > > | ExtractDoubleOrThrow (const Eigen::MatrixBase< Derived > &matrix) |
Returns matrix as an Eigen::Matrix<double, ...> with the same size allocation as matrix . More... | |