Lines Matching refs:simplex
55 Downhill Simplex method in OpenCV dev 3.0.0 getting this error:
132 ****Suggesttion for imporving Simplex implentation***************************************************************************************
134 Currently the downhilll simplex method outputs the function value that is minimized. It should also return the coordinate points where the
189 Mat x = x_.getMat(), simplex;
191 createInitialSimplex(x, simplex, _step);
193 double res = innerDownhillSimplex(simplex,_termcrit.epsilon, _termcrit.epsilon,
199 Mat simplex_0m(x.rows, x.cols, CV_64F, simplex.ptr<double>());
205 simplex.row(0).convertTo(x_, x_type);
235 inline void createInitialSimplex( const Mat& x0, Mat& simplex, Mat& step )
245 simplex.create(ndim + 1, ndim, CV_64F);
246 Mat simplex_0m(x.rows, x.cols, CV_64F, simplex.ptr<double>());
249 double* simplex_0 = simplex.ptr<double>();
253 double* simplex_i = simplex.ptr<double>(i);
261 dprintf(("\nthis is simplex\n"));
262 print_matrix(simplex);
269 form a simplex - each row is an ndim vector.
391 // Contract the simplex to good point
392 // in hope to find a simplex landscape.
406 dprintf(("\nthis is simplex on iteration %d\n",fcount));