36 #ifndef MADNESS_MRA_POWER_H__INCLUDED
37 #define MADNESS_MRA_POWER_H__INCLUDED
43 inline int power(
int base = 2) {
44 return (
int)
std::pow((
double) base, (
int)
D);
59 return (
int)(base*base);
64 return (
int)(base*base*base);
110 template<
class T,
int N>
132 template<
int N,
class T>
auto T(World &world, response_space &f) -> response_space
Definition: global_functions.cc:34
static double pow(const double *a, const double *b)
Definition: lda.h:74
File holds all helper structures necessary for the CC_Operator and CC2 class.
Definition: DFParameters.h:10
int power(int base=2)
Definition: power.h:43
int power< 4 >(int base)
Definition: power.h:68
int power< 5 >(int base)
Definition: power.h:73
int power< 0 >(int base)
Definition: power.h:48
int power< 12 >(int base)
Definition: power.h:103
int power< 2 >(int base)
Definition: power.h:58
int power< 10 >(int base)
Definition: power.h:98
int power< 7 >(int base)
Definition: power.h:83
int power< 3 >(int base)
Definition: power.h:63
int power< 1 >(int base)
Definition: power.h:53
int power< 9 >(int base)
Definition: power.h:93
int power< 6 >(int base)
Definition: power.h:78
int power< 8 >(int base)
Definition: power.h:88
Definition: test_ar.cc:204
static T pow(const T x)
Definition: power.h:126
static T pow(const T x)
Definition: power.h:119
static T pow(const T x)
Definition: power.h:112