梅森旋转随机数生成器。 更多...
#include <opencv2/core.hpp>
◆ RNG_MT19937() [1/2]
cv::RNG_MT19937::RNG_MT19937 |
( |
| ) |
|
◆ RNG_MT19937() [2/2]
cv::RNG_MT19937::RNG_MT19937 |
( |
unsigned |
s | ) |
|
◆ next()
unsigned cv::RNG_MT19937::next |
( |
| ) |
|
◆ operator double()
cv::RNG_MT19937::operator double |
( |
| ) |
|
◆ operator float()
cv::RNG_MT19937::operator float |
( |
| ) |
|
◆ operator unsigned()
cv::RNG_MT19937::operator unsigned |
( |
| ) |
|
◆ operator()() [1/2]
unsigned cv::RNG_MT19937::operator() |
( |
| ) |
|
◆ operator()() [2/2]
unsigned cv::RNG_MT19937::operator() |
( |
unsigned |
N | ) |
|
◆ seed()
void cv::RNG_MT19937::seed |
( |
unsigned |
s | ) |
|
◆ uniform() [1/3]
double cv::RNG_MT19937::uniform |
( |
double |
a, |
|
|
double |
b |
|
) |
| |
返回 [a,b) 范围内的均匀分布双精度浮点数随机数
◆ uniform() [2/3]
float cv::RNG_MT19937::uniform |
( |
float |
a, |
|
|
float |
b |
|
) |
| |
◆ uniform() [3/3]
int cv::RNG_MT19937::uniform |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
此类的文档是从以下文件生成的