35 #ifndef _BLAZE_MATH_TRAITS_SMATSCALARDIVEXPRTRAIT_H_
36 #define _BLAZE_MATH_TRAITS_SMATSCALARDIVEXPRTRAIT_H_
80 struct SMatScalarDivExprTraitHelper
84 using ScalarType = If_< Or< IsFloatingPoint< UnderlyingBuiltin_<MT> >
85 , IsFloatingPoint< UnderlyingBuiltin_<ST> > >
86 , If_< And< IsComplex< UnderlyingNumeric_<MT> >
88 , DivTrait_< UnderlyingBuiltin_<MT>, ST >
89 , DivTrait_< UnderlyingNumeric_<MT>, ST > >
95 using Type = If_< IsInvertible<ScalarType>
96 , SMatScalarMultExpr<MT,ScalarType,false>
97 , SMatScalarDivExpr<MT,ScalarType,false> >;
109 template<
typename MT
111 struct SMatScalarDivExprTraitHelper<MT,ST,false>
115 using Type = INVALID_TYPE;
132 template<
typename MT
149 , SMatScalarDivExprTraitHelper<MT,ST,condition> >::Type;
170 template<
typename MT
Header file for the UnderlyingNumeric type trait.
Compile time check for numeric types.This type trait tests whether or not the given template paramete...
Definition: IsNumeric.h:79
Compile time check for volatile data types.The IsVolatile type trait tests whether or not the given t...
Definition: IsVolatile.h:75
Header file for the IsSparseMatrix type trait.
Evaluation of the expression type of a sparse matrix/scalar division.Via this type trait it is possib...
Definition: SMatScalarDivExprTrait.h:134
typename Decay< T >::Type Decay_
Auxiliary alias declaration for the Decay type trait.The Decay_ alias declaration provides a convenie...
Definition: Decay.h:98
Header file for the And class template.
Header file for the IsVolatile type trait.
Header file for the Decay type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the If class template.
Compile time check for row-major matrix types.This type trait tests whether or not the given template...
Definition: IsRowMajorMatrix.h:83
Header file for the IsFloatingPoint type trait.
Header file for the UnderlyingBuiltin type trait.
Header file for the Or class template.
typename SMatScalarDivExprTrait< MT, ST >::Type SMatScalarDivExprTrait_
Auxiliary alias declaration for the SMatScalarDivExprTrait class template.The SMatScalarDivExprTrait_...
Definition: SMatScalarDivExprTrait.h:172
Header file for all forward declarations for expression class templates.
Header file for the IsNumeric type trait.
Header file for the IsConst type trait.
Utility type for generic codes.
Header file for the division trait.
typename If< T1, T2, T3 >::Type If_
Auxiliary alias declaration for the If class template.The If_ alias declaration provides a convenient...
Definition: If.h:160
Header file for the IsReference type trait.
Header file for the IsInvertible type trait.
Compile time check for constant data types.The IsConst type trait tests whether or not the given temp...
Definition: IsConst.h:75
Header file for the IsRowMajorMatrix type trait.
Header file for the IsBuiltin type trait.
Compile time type check.This class tests whether the given template parameter T is a reference type (...
Definition: IsReference.h:75
Header file for the IsComplex type trait.
Compile time logical and evaluation.The And class template performs at compile time a logical and ('&&...
Definition: And.h:101