blaze::IsNumericVector< T > Struct Template Reference

Compile time check for numeric vector types.This type trait tests whether or not the given template parameter is a numeric vector type, i.e. a vector with numeric element type. In case the type is a numeric vector type, the value member constant is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise yes is set to false, Type is FalseType, and the class derives from FalseType. More...

#include <IsNumericVector.h>

Inherits blaze::And< IsVector< T >, IsNumeric< UnderlyingElement_< T > > >.

Detailed Description

template<typename T>
struct blaze::IsNumericVector< T >

Compile time check for numeric vector types.

This type trait tests whether or not the given template parameter is a numeric vector type, i.e. a vector with numeric element type. In case the type is a numeric vector type, the value member constant is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise yes is set to false, Type is FalseType, and the class derives from FalseType.

using Type1 = DynamicVector<int>;
using Type2 = StaticVector<float,3UL>;
using Type3 = HybridVector< complex<double> >;
using Type4 = double;
using Type5 = DynamicMatrix<int>;
using Type6 = DynamicVector< DynamicVector<int> >;
blaze::IsNumericVector< Type3 > // Is derived from TrueType
blaze::IsNumericVector< Type6 > // Is derived from FalseType

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