Lines Matching refs:xx
809 double x=m_x[i], xx=x*x, xxx=xx*x;
810 fvec[i] = (b[0]+b[1]*x+b[2]*xx+b[3]*xxx) / (1.+b[4]*x+b[5]*xx+b[6]*xxx) - m_y[i];
821 double x=m_x[i], xx=x*x, xxx=xx*x;
822 double fact = 1./(1.+b[4]*x+b[5]*xx+b[6]*xxx);
825 fjac(i,2) = xx*fact;
827 fact = - (b[0]+b[1]*x+b[2]*xx+b[3]*xxx) * fact * fact;
829 fjac(i,5) = xx*fact;
1390 double x = _x[i], xx=x*x;
1391 fvec[i] = b[0]*(xx+x*b[1])/(xx+x*b[2]+b[3]) - y[i];
1401 double x = _x[i], xx=x*x;
1402 double factor = 1./(xx+x*b[2]+b[3]);
1403 fjac(i,0) = (xx+x*b[1]) * factor;
1405 fjac(i,2) = - b[0]*(xx+x*b[1]) * x * factor * factor;
1406 fjac(i,3) = - b[0]*(xx+x*b[1]) * factor * factor;
1559 double x=_x[i], xx=x*x, xxx=xx*x;
1560 fvec[i] = (b[0]+b[1]*x+b[2]*xx+b[3]*xxx) / (1.+b[4]*x+b[5]*xx+b[6]*xxx) - _y[i];
1570 double x=_x[i], xx=x*x, xxx=xx*x;
1571 double fact = 1./(1.+b[4]*x+b[5]*xx+b[6]*xxx);
1574 fjac(i,2) = xx*fact;
1576 fact = - (b[0]+b[1]*x+b[2]*xx+b[3]*xxx) * fact * fact;
1578 fjac(i,5) = xx*fact;