Drake
Drake C++ Documentation
Loading...
Searching...
No Matches
extract_double.h File Reference
Include dependency graph for extract_double.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  drake

Functions

double ExtractDoubleOrThrow (double scalar)
 Returns scalar as a double. Never throws.
double ExtractDoubleOrThrow (float scalar)
 Returns scalar as a double. Never throws.
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.