{\
int nvar = _getNVar();\
int ncov = _getNCov();\
int iad_x = 0;\
int iad_struct = 0;\
vect y;\
for (int icov = 0; icov < ncov; icov++)\
{\
int napices = size(icov);\
if ( (nvar == 1) && (ncov == 1) )\
{\
}\
else\
{\
if (COMPUTEOP)\
{\
_works[icov].resize(napices);\
std::fill(y.begin(),y.end(),0.);\
}\
}\
for (int jvar = 0; jvar < nvar; jvar++)\
{\
int iad_y = IY;\
constvect
x(IN.data() + iad_x, napices);\
if (nvar == 1)\
y =
vect(OUT.data() + iad_y, napices);\
if (COMPUTEOP) \
if ( (nvar == 1) && (ncov == 1) ) break;\
if (nvar == 1)\
{\
iad_x += napices;\
continue;\
}\
for (int ivar = START; ivar < END; ivar++)\
{\
if (_isNoStatForVariance[icov])\
{\
constvect i1(TAB##NoStat[icov][
IND(IVAR,JVAR,nvar)]);\
constvect i2(XORY);\
}\
else\
{\
constvect i1(XORY);\
}\
iad_y += napices;\
}\
iad_x += napices; \
}\
iad_struct += napices * nvar;\
}\
if (COMPUTEOP) return 0;\
}
#define IND(i, j, nvar)
Definition: PrecisionOpMulti.hpp:24
static void addMultiplyConstantInPlace(double val1, const constvect in, vect out, int iad)
Definition: VectorHelper.cpp:1585
static void addMultiplyVectVectInPlace(const constvect in1, const constvect in2, vect out, int iad)
Definition: VectorHelper.cpp:1571
std::span< double > vect
Definition: geoslib_define.h:89