Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
shims
Qdrt.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_SHIMS_QDRT_H_
36
#define _BLAZE_MATH_SHIMS_QDRT_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <cmath>
44
45
46
namespace
blaze {
47
48
//=================================================================================================
49
//
50
// QDRT SHIM
51
//
52
//=================================================================================================
53
54
//*************************************************************************************************
64
template
<
typename
T >
65
BLAZE_ALWAYS_INLINE
decltype
(
auto
)
qdrt
(
const
T& a )
66
{
67
return
sqrt
(
sqrt
( a ) );
68
}
69
//*************************************************************************************************
70
71
}
// namespace blaze
72
73
#endif
blaze::sqrt
decltype(auto) sqrt(const DenseMatrix< MT, SO > &dm)
Computes the square root of each single element of the dense matrix dm.
Definition
DMatMapExpr.h:1616
blaze::qdrt
BLAZE_ALWAYS_INLINE decltype(auto) qdrt(const T &a)
Computing the quad root (4th root) of the given value/object.
Definition
Qdrt.h:65
BLAZE_ALWAYS_INLINE
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition
Inline.h:85
Generated by
1.18.0