Template Function crocoddyl::scalar_cast

Function Documentation

template<typename NewScalar, typename Scalar>
static std::enable_if<std::is_floating_point<NewScalar>::value && std::is_floating_point<Scalar>::value, NewScalar>::type crocoddyl::scalar_cast(const Scalar &x)