35 #ifndef _BLAZE_MATH_SHIMS_ISONE_H_
36 #define _BLAZE_MATH_SHIMS_ISONE_H_
80 template<
typename Type >
84 return equal( v, Type(1) );
97 template<
typename Type >
99 isOne(
const Type& v )
bool isOne(const DiagonalProxy< MT > &proxy)
Returns whether the represented element is 1.
Definition: DiagonalProxy.h:609
Header file for the UNUSED_PARAMETER function template.
void UNUSED_PARAMETER(const T1 &)
Suppression of unused parameter warnings.
Definition: Unused.h:81
Header file for the DisableIf class template.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Header file for the equal shim.
Header file for the EnableIf class template.
Header file for the IsNumeric type trait.
bool equal(const T1 &a, const T2 &b)
Generic equality check.
Definition: Equal.h:73
System settings for the inline keywords.