22 double mndasum(
unsigned int n,
const double* dx,
int incx) {
25 double ret_val, d__1, d__2, d__3, d__4, d__5, d__6;
45 if (n <= 0 || incx <= 0) {
57 for (i__ = 1; i__2 < 0 ? i__ >= i__1 : i__ <= i__1; i__ += i__2) {
58 dtemp += (d__1 = dx[i__],
fabs(d__1));
75 for (i__ = 1; i__ <= i__2; ++i__) {
76 dtemp += (d__1 = dx[i__],
fabs(d__1));
85 for (i__ = mp1; i__ <= i__2; i__ += 6) {
86 dtemp = dtemp + (d__1 = dx[i__],
fabs(d__1)) + (d__2 = dx[i__ + 1],
87 fabs(d__2)) + (d__3 = dx[i__ + 2],
fabs(d__3)) +
88 (d__4 = dx[i__ + 3],
fabs(d__4)) +
89 (d__5 = dx[i__ + 4],
fabs(d__5)) + (d__6 = dx[i__ + 5],
fabs(d__6));
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
VecExpr< UnaryOp< Fabs< T >, VecExpr< A, T, D >, T >, T, D > fabs(const VecExpr< A, T, D > &rhs)
double mndasum(unsigned int, const double *, int)