Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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 DynamicMatrix< Type, SO > &m)
Returns whether the given dense matrix is in default state.
Definition:
DynamicMatrix.h:4642
Generated on Fri Jun 20 2014 06:06:51 by
1.8.7