reactor-c
C Runtime for Lingua Franca
|
#include <stddef.h>
Go to the source code of this file.
Functions | |
void | perturb (int *src, size_t size, int *out) |
Ensures that the expectation of each entry of out is equal to the corresponding entry of src . Assumes that a random seed has already been set using srand . | |
void perturb | ( | int * | src, |
size_t | size, | ||
int * | out ) |
Ensures that the expectation of each entry of out
is equal to the corresponding entry of src
. Assumes that a random seed has already been set using srand
.
src | An array of integers of size size . |
size | The size of both src and out . |
out | An array of integers of size size . |