35 #ifndef _BLAZE_MATH_TRAITS_SVECSCALARDIVEXPRTRAIT_H_
36 #define _BLAZE_MATH_TRAITS_SVECSCALARDIVEXPRTRAIT_H_
80 struct SVecScalarDivExprTraitHelper
84 using ScalarType = If_< Or< IsFloatingPoint< UnderlyingBuiltin_<VT> >
85 , IsFloatingPoint< UnderlyingBuiltin_<ST> > >
86 , If_< And< IsComplex< UnderlyingNumeric_<VT> >
88 , DivTrait_< UnderlyingBuiltin_<VT>, ST >
89 , DivTrait_< UnderlyingNumeric_<VT>, ST > >
95 using Type = If_< IsInvertible<ScalarType>
96 , SVecScalarMultExpr<VT,ScalarType,false>
97 , SVecScalarDivExpr<VT,ScalarType,false> >;
109 template<
typename VT
111 struct SVecScalarDivExprTraitHelper<VT,ST,false>
115 using Type = INVALID_TYPE;
132 template<
typename VT
149 , SVecScalarDivExprTraitHelper<VT,ST,condition> >::Type;
170 template<
typename VT
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
typename SVecScalarDivExprTrait< VT, ST >::Type SVecScalarDivExprTrait_
Auxiliary alias declaration for the SVecScalarDivExprTrait class template.The SVecScalarDivExprTrait_...
Definition: SVecScalarDivExprTrait.h:172
Compile time check for volatile data types.The IsVolatile type trait tests whether or not the given t...
Definition: IsVolatile.h:75
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.
Evaluation of the expression type of a sparse vector/scalar division.Via this type trait it is possib...
Definition: SVecScalarDivExprTrait.h:134
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.
Header file for the IsFloatingPoint type trait.
Header file for the UnderlyingBuiltin type trait.
Header file for the Or class template.
Compile time check for column vector types.This type trait tests whether or not the given template ar...
Definition: IsColumnVector.h:80
Header file for all forward declarations for expression class templates.
Header file for the IsNumeric type trait.
Header file for the IsSparseVector 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 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
Header file for the IsColumnVector type trait.