Added descriptions of randu and randn

pull/17106/head
Paul Jurczak 5 years ago committed by Alexander Alekhin
parent acf1be547d
commit a748eba42e
  1. 9
      modules/core/include/opencv2/core/matx.hpp

@ -151,7 +151,16 @@ public:
static Matx ones();
static Matx eye();
static Matx diag(const diag_type& d);
/** @brief Generates uniformly distributed random numbers
@param a Range boundary.
@param b The other range boundary (boundaries don't have to be ordered, the lower boundary is inclusive,
the upper one is exclusive).
*/
static Matx randu(_Tp a, _Tp b);
/** @brief Generates normally distributed random numbers
@param a Mean value.
@param b Standard deviation.
*/
static Matx randn(_Tp a, _Tp b);
//! dot product computed with the default precision

Loading…
Cancel
Save