mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Fix some typos
This commit is contained in:
@@ -579,7 +579,7 @@ CvNArrayIterator;
|
||||
#define CV_NO_CN_CHECK 2
|
||||
#define CV_NO_SIZE_CHECK 4
|
||||
|
||||
/** initializes iterator that traverses through several arrays simulteneously
|
||||
/** initializes iterator that traverses through several arrays simultaneously
|
||||
(the function together with cvNextArraySlice is used for
|
||||
N-ari element-wise operations) */
|
||||
CVAPI(int) cvInitNArrayIterator( int count, CvArr** arrs,
|
||||
|
||||
@@ -392,7 +392,7 @@ inline unsigned RNG::next()
|
||||
return (unsigned)state;
|
||||
}
|
||||
|
||||
//! returns the next unifomly-distributed random number of the specified type
|
||||
//! returns the next uniformly-distributed random number of the specified type
|
||||
template<typename _Tp> static inline _Tp randu()
|
||||
{
|
||||
return (_Tp)theRNG();
|
||||
|
||||
@@ -219,10 +219,10 @@ converge to it. Another obvious restriction is that it should be possible to com
|
||||
a function at any point, thus it is preferable to have analytic expression for gradient and
|
||||
computational burden should be born by the user.
|
||||
|
||||
The latter responsibility is accompilished via the getGradient method of a
|
||||
The latter responsibility is accomplished via the getGradient method of a
|
||||
MinProblemSolver::Function interface (which represents function being optimized). This method takes
|
||||
point a point in *n*-dimensional space (first argument represents the array of coordinates of that
|
||||
point) and comput its gradient (it should be stored in the second argument as an array).
|
||||
point) and compute its gradient (it should be stored in the second argument as an array).
|
||||
|
||||
@note class ConjGradSolver thus does not add any new methods to the basic MinProblemSolver interface.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user