4 #ifndef CPPQEDCORE_UTILS_COMPLEXARRAYEXTENSIONS_H_INCLUDED
5 #define CPPQEDCORE_UTILS_COMPLEXARRAYEXTENSIONS_H_INCLUDED
11 #include<boost/mpl/bool.hpp>
17 inline double sqrAbs(
const dcomp& c) {
return mathutils::sqrAbs(c);}
19 BZ_DECLARE_FUNCTION_RET(sqrAbs,
double) ;
23 template<
int TWO_TIMES_RANK>
29 template<
int TWO_TIMES_RANK>
43 template<
bool IS_MULTIPLICATION,
int RANK1,
int RANK2>
51 #endif // CPPQEDCORE_UTILS_COMPLEXARRAYEXTENSIONS_H_INCLUDED
blitz::Array< dcomp,RANK > CArray
A complex array of arbitrary arity.
defines the typedef linalg::CMatrix and some helpers
Defines wrapper functions for mathematical functions taken from libraries, and several other mathemat...
const CArray< RANK1+RANK2 > doDirect(const CArray< RANK1 > &, const CArray< RANK2 > &)
Direct product/sum.
std::complex< double > dcomp
Double-precision complex number.
Comprises our own extensions to Blitz++.
Defines template aliases for real and complex arrays.