Lines Matching defs:xf
480 double* xf = _xf->data.db;
487 for( i = 0; i < n; i++, xf += cols, df += cols )
490 xf[j] += bias[j];
499 for( i = 0; i < n; i++, xf += cols, df += cols )
502 double t = xf[j] + bias[j];
504 xf[j] = t*t*scale;
510 for( i = 0; i < n; i++, xf += cols, df += cols )
512 xf[j] = (xf[j] + bias[j])*scale;
518 xf -= n; df -= n;
529 double x0 = 1.+xf[i], x1 = 1.+xf[i+1], x2 = 1.+xf[i+2], x3 = 1.+xf[i+3];
534 df[i] = scale*xf[i]*t0*t0;
535 df[i+1] = scale*xf[i+1]*t1*t1;
537 xf[i] = t0; xf[i+1] = t1;
540 df[i+2] = scale*xf[i+2]*t0*t0;
541 df[i+3] = scale*xf[i+3]*t1*t1;
543 xf[i+2] = t0; xf[i+3] = t1;
548 double t0 = 1./(1. + xf[i]);
549 double t1 = scale*xf[i]*t0*t0;
550 t0 *= scale2*(1. - xf[i]);
552 xf[i] = t0;
558 df[i] *= xf[i];