Blaze 3.9
Loading...
Searching...
No Matches
IsDivisor.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_SHIMS_ISDIVISOR_H_
36#define _BLAZE_MATH_SHIMS_ISDIVISOR_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
45#include <blaze/system/Inline.h>
46#include <blaze/util/EnableIf.h>
47
48
49namespace blaze {
50
51//=================================================================================================
52//
53// ISDIVISOR SHIM
54//
55//=================================================================================================
56
57//*************************************************************************************************
78template< typename Type, EnableIf_t< IsScalar_v<Type> >* = nullptr >
80{
81 return v != Type{};
82}
83//*************************************************************************************************
84
85} // namespace blaze
86
87#endif
Header file for the EnableIf class template.
Header file for the IsScalar type trait.
bool isDivisor(const DenseVector< VT, TF > &dv)
Returns whether the given dense vector is a valid divisor.
Definition DenseVector.h:1261
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition Inline.h:85
Header file for the equal shim.
System settings for the inline keywords.