![]() |
![]() |
Collaboration diagram for DSPF_sp_urand:
|
| void | DSPF_sp_urand (unsigned int size, float *vector, void *state) |
| void DSPF_sp_urand | ( | unsigned int | size, | |
| float * | vector, | |||
| void * | state | |||
| ) |
This function is used to fill an array with uniformly distributed random floats on the interval [0, 1).
| size | = The size of the array to be filled. | |
| vector | = The array of type float which the user wants to fill with random values. | |
| state | = The array which was initialized with the "DSP_urand32_init" function and maintained (but NEVER modified) by the user between subsequent calls to this function. |