23 double reduce_a(
const double* a,
long ilo,
long ihi)
28 for(
long i=ilo; i < ihi; ++i )
39 for(
long i=ilo; i < ihi; ++i )
45 double reduce_ab(
const double* a,
const double* b,
long ilo,
long ihi)
50 for(
long i=ilo; i < ihi; ++i )
61 for(
long i=ilo; i < ihi; ++i )
62 sum += a[i]*
double(b[i]);
72 for(
long i=ilo; i < ihi; ++i )
78 double reduce_abc(
const double* a,
const double* b,
const double* c,
long ilo,
long ihi)
83 for(
long i=ilo; i < ihi; ++i )
84 sum += a[i]*b[i]*c[i];
94 for(
long i=ilo; i < ihi; ++i )
95 sum += a[i]*b[i]*
double(c[i]);
105 for(
long i=ilo; i < ihi; ++i )
106 sum += a[i]*
double(b[i])*double(c[i]);
116 for(
long i=ilo; i < ihi; ++i )
117 sum += a[i]*b[i]*c[i];
122 double reduce_ab_a(
const double* a,
const double* b,
long ilo,
long ihi,
double* sum_a)
128 for(
long i=ilo; i < ihi; ++i )
145 for(
long i=ilo; i < ihi; ++i )
147 double one = double(a[i]);
162 for(
long i=ilo; i < ihi; ++i )
166 sum2 += one*double(b[i]);
179 for(
long i=ilo; i < ihi; ++i )
190 double reduce_abc_ab(
const double* a,
const double* b,
const double* c,
long ilo,
long ihi,
double* sum_ab)
196 for(
long i=ilo; i < ihi; ++i )
198 double one = a[i]*b[i];
double reduce_a(const double *a, long ilo, long ihi)
double reduce_abc_ab(const double *a, const double *b, const double *c, long ilo, long ihi, double *sum_ab)
double reduce_ab(const double *a, const double *b, long ilo, long ihi)
double reduce_ab_a(const double *a, const double *b, long ilo, long ihi, double *sum_a)
#define DEBUG_ENTRY(funcname)
double reduce_abc(const double *a, const double *b, const double *c, long ilo, long ihi)