blaze::IsNumericMatrix< T > Struct Template Reference

Compile time check for numeric matrix types.This type trait tests whether or not the given template parameter is a numeric matrix type, i.e. a matrix with numeric element type. In case the type is a numeric matrix 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 <IsNumericMatrix.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

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

Compile time check for numeric matrix types.

This type trait tests whether or not the given template parameter is a numeric matrix type, i.e. a matrix with numeric element type. In case the type is a numeric matrix 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.

typedef DynamicMatrix<int> Type1;
typedef CompressedMatrix< complex<double> > Type2;
typedef LowerMatrix< DynamicMatrix<float> > Type3;
typedef double Type4;
typedef DynamicVector<int> Type5;
typedef DynamicMatrix< DynamicVector<int> > Type6;
blaze::IsNumericMatrix< Type3 > // Is derived from TrueType
blaze::IsNumericMatrix< Type6 > // Is derived from FalseType

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