ValueConverter< T, U > Struct Template Reference

Detailed Description

template<typename T, typename U>
struct maliput::drake::systems::scalar_conversion::ValueConverter< T, U >

Converts a scalar U u to its corresponding scalar T t.

When U == T, the scalar is unchanged. When demoting Expression to non-Expression, throws when there are unbound variables. In all other cases, information beyond the double value (e.g., possible derivatives) might be discarded.

#include <src/maliput/drake/systems/framework/scalar_conversion_traits.h>

Public Member Functions

operator() (const U &u) const

Member Function Documentation

◆ operator()()

T operator() ( const U &  u) const

The documentation for this struct was generated from the following file: