35 #ifndef _BLAZE_MATH_SHIMS_INVSQRT_H_
36 #define _BLAZE_MATH_SHIMS_INVSQRT_H_
69 template<
typename T,
typename = EnableIf_< IsBuiltin<T> > >
89 template<
typename T,
typename = EnableIf_< IsBuiltin<T> > >
90 inline auto invsqrt(
const complex<T>& a ) noexcept -> decltype(
inv(
sqrt( a ) ) )
#define BLAZE_USER_ASSERT(expr, msg)
Run time assertion macro for user checks.In case of an invalid run time expression, the program execution is terminated. The BLAZE_USER_ASSERT macro can be disabled by setting the BLAZE_USER_ASSERT flag to zero or by defining NDEBUG during the compilation.
Definition: Assert.h:117
Header file for the invert shim.
Header file for the sqrt shim.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
const DMatForEachExpr< MT, Abs, SO > abs(const DenseMatrix< MT, SO > &dm)
Applies the abs() function to each single element of the dense matrix dm.
Definition: DMatForEachExpr.h:1074
const DMatForEachExpr< MT, Sqrt, SO > sqrt(const DenseMatrix< MT, SO > &dm)
Computes the square root of each single element of the dense matrix dm.
Definition: DMatForEachExpr.h:1282
Header file for the EnableIf class template.
Header file for run time assertion macros.
const DMatForEachExpr< MT, InvSqrt, SO > invsqrt(const DenseMatrix< MT, SO > &dm)
Computes the inverse square root of each single element of the dense matrix dm.
Definition: DMatForEachExpr.h:1313
Header file for the IsBuiltin type trait.
Header file for the complex data type.
const DMatInvExpr< MT, SO > inv(const DenseMatrix< MT, SO > &dm)
Calculation of the inverse of the given dense matrix.
Definition: DMatInvExpr.h:401