blaze::IsInvertible< T > Struct Template Reference

Compile time check for data types.This type trait tests whether or not the given template parameter is invertible. The type is considered to be invertible if it is either BLAS compatible (i.e. float, double, complex<float>, or complex<double>), long double, or any dense matrix type with a BLAS compatible element type. If the given type is invertible, the value member enumeration is set to 1, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to 0, Type is FalseType, and the class derives from FalseType. More...

#include <IsInvertible.h>

Inherits Type< T >.

Detailed Description

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

Compile time check for data types.

This type trait tests whether or not the given template parameter is invertible. The type is considered to be invertible if it is either BLAS compatible (i.e. float, double, complex<float>, or complex<double>), long double, or any dense matrix type with a BLAS compatible element type. If the given type is invertible, the value member enumeration is set to 1, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to 0, Type is FalseType, and the class derives from FalseType.

blaze::IsInvertible< complex<double> >::Type // Results in TrueType
blaze::IsInvertible< complex<int> >::Type // Results in FalseType

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