Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
shims
IsInf.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_SHIMS_ISINF_H_
36
#define _BLAZE_MATH_SHIMS_ISINF_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <cmath>
44
#include <
blaze/util/EnableIf.h
>
45
#include <
blaze/util/typetraits/IsArithmetic.h
>
46
47
48
namespace
blaze {
49
50
//=================================================================================================
51
//
52
// ISINF SHIM
53
//
54
//=================================================================================================
55
56
//*************************************************************************************************
63
template
<
typename
T, EnableIf_t< IsArithmetic_v<T> >* =
nullptr
>
64
inline
bool
isinf
( T a )
noexcept
65
{
66
return
std::isinf( a );
67
}
68
//*************************************************************************************************
69
70
}
// namespace blaze
71
72
#endif
EnableIf.h
Header file for the EnableIf class template.
IsArithmetic.h
Header file for the IsArithmetic type trait.
blaze::isinf
bool isinf(const DenseMatrix< MT, SO > &dm)
Checks the given dense matrix for infinite elements.
Definition
DenseMatrix.h:1339
Generated by
1.18.0