#include <stdlib.h>#include "object.h"Include dependency graph for random.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | __COMMON_TYPES_RANDOM_H__ |
| #define | randu() (rand() / (RAND_MAX + 1.0)) |
| #define | randuc() (rand() / (PROBAB) RAND_MAX) |
Typedefs | |
| typedef REAL | PROBAB |
Functions | |
| void | set_seed (unsigned int seed) |
| REAL | randn () |
|
|
|
|
|
Definition at line 22 of file random.h. Referenced by Perceptron::initialize(), NNLayer::initialize(), randn(), dataset::random_sample(), and randvec(). |
|
|
|
|
|
|
|
|
Definition at line 20 of file random.c. References randu. |
|
|
|
1.4.6