Home | History | Annotate | Download | only in src

Lines Matching defs:x0

449             double x0 = 1.+data[i], x1 = 1.+data[i+1], x2 = 1.+data[i+2], x3 = 1.+data[i+3];
450 double a = x0*x1, b = x2*x3, d = scale2/(a*b), t0, t1;
452 t0 = (2 - x0)*b*x1; t1 = (2 - x1)*b*x0;
529 double x0 = 1.+xf[i], x1 = 1.+xf[i+1], x2 = 1.+xf[i+2], x3 = 1.+xf[i+3];
530 double a = x0*x1, b = x2*x3, d = 1./(a*b), t0, t1;
533 t0 = b*x1; t1 = b*x0;
536 t0 *= scale2*(2 - x0); t1 *= scale2*(2 - x1);
824 CvVectors x0, u;
827 x0.data.ptr = u.data.ptr = 0;
840 _sample_idx, &x0, &u, &sw, flags ));
859 CV_CALL( iter = train_backprop( x0, u, sw ));
863 CV_CALL( iter = train_rprop( x0, u, sw ));
868 cvFree( &x0.data.ptr );
876 int CvANN_MLP::train_backprop( CvVectors x0, CvVectors u, const double* sw )
882 int iter = -1, count = x0.count;
958 if( x0.type == CV_32F )
960 const float* x0data = x0.data.fl[idx];
966 const double* x0data = x0.data.db[idx];
1049 int CvANN_MLP::train_rprop( CvVectors x0, CvVectors u, const double* sw )
1057 int iter = -1, count = x0.count;
1144 if( x0.type == CV_32F )
1147 const float* x0data = x0.data.fl[si+i];
1155 const double* x0data = x0.data.db[si+i];