79 N1(n1), N2(n2), dRho(r), dFact(f), dkRef(kr), dkLim(kl),
80 dk(kr), pdErrM(NULL), pdErrS(NULL), iRef1(n1-1), iRef2(n1-n2-1),
81 dErr1M(0.), dErr1S(0.), dErr2M(0.), dErr2S(0.) {
116 dS += pErr[i]*pErr[i];
139 if (
fabs(r) < 1.e-6) {
164 N1(n1), N2(n2), dRho(r), dFact(f), dkRef(kr), dkLim(kl),
165 dk(kr), pdErr(NULL), ppdErr(NULL), iRef1(n1-1), iRef2(n1-n2-1),
166 pdErr1M(NULL), pdErr1S(NULL), pdErr2M(NULL), pdErr2S(NULL) {
184 for (
integer i = sz; i-- > 0; ) {
225 ppdErr[
iRef1][i] = pE[i];
242 if (
fabs(dS1) > std::numeric_limits<doublereal>::epsilon() && (d =
fabs(1.-dS2/dS1)) >
dFact) {
GradientExpression< UnaryExpr< FuncExp, Expr > > exp(const GradientExpression< Expr > &u)
GradientExpression< BinaryExpr< FuncPow, LhsExpr, RhsExpr > > pow(const GradientExpression< LhsExpr > &u, const GradientExpression< RhsExpr > &v)
#define SAFEDELETEARR(pnt)
void Update(const doublereal *=NULL)
ForgettingFactor(integer i)
GradientExpression< UnaryExpr< FuncFabs, Expr > > fabs(const GradientExpression< Expr > &u)
~ConstForgettingFactor(void)
DynamicForgettingFactor(integer n1, integer n2, integer i, doublereal r, doublereal f, doublereal kr, doublereal kl)
virtual ~ForgettingFactor(void)
~DynamicForgettingFactor(void)
#define ASSERT(expression)
void Update(const doublereal *pErr=NULL)
void Update(const doublereal *pErr=NULL)
#define SAFENEWARR(pnt, item, sz)
ConstForgettingFactor(doublereal d)
~DynamicForgettingFactor2(void)
DynamicForgettingFactor2(integer n1, integer n2, integer i, doublereal r, doublereal f, doublereal kr, doublereal kl)