Drake
number_traits.h File Reference

This file contains traits for number (scalar) types. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  is_numeric< T >
 is_numeric is true for types that are on the real line. More...
 

Namespaces

 drake
 

Detailed Description

This file contains traits for number (scalar) types.

Drake libraries that are templated on a scalar type may consult these traits to perform appropriate conditional compilation.

This file will also contain trait specializations for officially-supported Drake scalar types, as we decide what those types are. Other scalar types, such as experimental, test, and example types within Drake, or custom types outside of Drake, may specialize the traits locally.