Template Numerical Library version\ main:bb09b17
|
Type trait for checking if T is a scalar type (in the mathemtatical sense). Not to be confused with std::is_scalar. More...
#include <TNL/TypeTraits.h>
Type trait for checking if T is a scalar type (in the mathemtatical sense). Not to be confused with std::is_scalar.
For example, arithmetic types as defined by the STL are scalar types. TNL also provides additional scalar types, e.g. for extended precision arithmetics. Users may also define specializations of this trait class for their custom scalar types.