Searched refs:coord_sum (Results 1 – 1 of 1) sorted by relevance
/external/opencv3/modules/core/src/ |
D | downhill_simplex.cpp | 214 inline void updateCoordSum(const Mat& p, Mat& coord_sum) in updateCoordSum() argument 217 double* coord_sum_ = coord_sum.ptr<double>(); in updateCoordSum() 218 CV_Assert( coord_sum.cols == n && coord_sum.rows == 1 ); in updateCoordSum() 231 print_matrix(coord_sum); in updateCoordSum() 275 Mat coord_sum(1, ndim, CV_64F), buf(1, ndim, CV_64F), y(1, ndim+1, CV_64F); in innerDownhillSimplex() local 282 updateCoordSum(p, coord_sum); in innerDownhillSimplex() 356 double y_alpha = tryNewPoint(p, coord_sum, ihi, alpha, buf, fcount); in innerDownhillSimplex() 367 double y_beta = tryNewPoint(p, coord_sum, ihi, beta, buf, fcount); in innerDownhillSimplex() 376 replacePoint(p, coord_sum, y, ihi, alpha, y_alpha); in innerDownhillSimplex() 383 double y_gamma = tryNewPoint(p, coord_sum, ihi, gamma, buf, fcount); in innerDownhillSimplex() [all …]
|