Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
blaze
math
shims
IsDefault.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_SHIMS_ISDEFAULT_H_
36
#define _BLAZE_MATH_SHIMS_ISDEFAULT_H_
37
38
39
namespace
blaze
{
40
41
//=================================================================================================
42
//
43
// ISDEFAULT SHIM
44
//
45
//=================================================================================================
46
47
//*************************************************************************************************
67
template
<
typename
Type >
68
inline
bool
isDefault
(
const
Type& v )
69
{
70
return
v == Type();
71
}
72
//*************************************************************************************************
73
74
}
// namespace blaze
75
76
#endif
blaze::isDefault
bool isDefault(const DiagonalProxy< MT > &proxy)
Returns whether the represented element is in default state.
Definition:
DiagonalProxy.h:861
blaze
Namespace of the Blaze C++ math library.
Definition:
Blaze.h:57
Generated on Thu Jul 2 2015 04:55:15 by
1.8.9.1