Definition in file vnl_sample.h.
Go to the source code of this file.
Functions | |
| void | vnl_sample_reseed () |
| re-seed the random number generator. | |
| void | vnl_sample_reseed (int seed) |
| re-seed the random number generator given a seed. | |
| double | vnl_sample_uniform (double a, double b) |
| uniform on [a, b). | |
| void | vnl_sample_normal_2 (double *x, double *y) |
| two independent samples from a standard normal distribution. | |
| double | vnl_sample_normal (double mean, double sigma) |
| Normal distribution with given mean and standard deviation. | |
| template<class I> | |
| void | vnl_sample_uniform (I begin, I end, double a, double b) |
| handy function to fill a range of values. | |
| template<class I> | |
| void | vnl_sample_normal (I begin, I end, double mean, double sigma) |
| handy function to fill a range of values. | |
| template<class I, class T> | |
| void | vnl_sample_uniform (I begin, I end, double a, double b, T) |
| handy function to fill a range of values. | |
| template<class I, class T> | |
| void | vnl_sample_normal (I begin, I end, double mean, double sigma, T) |
| handy function to fill a range of values. | |
| void vnl_sample_normal | ( | I | begin, | |
| I | end, | |||
| double | mean, | |||
| double | sigma, | |||
| T | ||||
| ) | [inline] |
| void vnl_sample_normal | ( | I | begin, | |
| I | end, | |||
| double | mean, | |||
| double | sigma | |||
| ) | [inline] |
| double vnl_sample_normal | ( | double | mean, | |
| double | sigma | |||
| ) |
Normal distribution with given mean and standard deviation.
Definition at line 70 of file vnl_sample.cxx.
| void vnl_sample_normal_2 | ( | double * | x, | |
| double * | y | |||
| ) |
two independent samples from a standard normal distribution.
Definition at line 59 of file vnl_sample.cxx.
| void vnl_sample_reseed | ( | int | seed | ) |
| void vnl_sample_reseed | ( | ) |
| void vnl_sample_uniform | ( | I | begin, | |
| I | end, | |||
| double | a, | |||
| double | b, | |||
| T | ||||
| ) | [inline] |
| void vnl_sample_uniform | ( | I | begin, | |
| I | end, | |||
| double | a, | |||
| double | b | |||
| ) | [inline] |
| double vnl_sample_uniform | ( | double | a, | |
| double | b | |||
| ) |
1.5.1