Blaze  3.6
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.

using Type1 = DynamicMatrix<int>;
using Type2 = CompressedMatrix< complex<double> >;
using Type3 = LowerMatrix< DynamicMatrix<float> >;
using Type4 = double;
using Type5 = DynamicVector<int>;
using Type6 = DynamicMatrix< DynamicVector<int> >;
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: