1mlib_SignalGaussNoise_F32(3mMeLdIiBa)Lib Library Funcmtliiobn_sSignalGaussNoise_F32(3MLIB)
2
3
4
6 mlib_SignalGaussNoise_F32 - Gaussian noise generation
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_SignalGaussNoise_F32(mlib_f32 *gnoise, void *state,
13 mlib_s32 n);
14
15
17 The mlib_SignalGaussNoise_F32() function generates one packet of Gauss‐
18 ian noise and updates the internal state.
19
21 The function takes the following arguments:
22
23 gnoise Generated Gaussian noise array.
24
25
26 state Internal state structure.
27
28
29 n Length of the generated Gaussian wave array in number of sam‐
30 ples.
31
32
34 The function returns MLIB_SUCCESS if successful. Otherwise it returns
35 MLIB_FAILURE.
36
38 See attributes(5) for descriptions of the following attributes:
39
40
41
42
43 ┌─────────────────────────────┬─────────────────────────────┐
44 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
45 ├─────────────────────────────┼─────────────────────────────┤
46 │Interface Stability │Committed │
47 ├─────────────────────────────┼─────────────────────────────┤
48 │MT-Level │MT-Safe │
49 └─────────────────────────────┴─────────────────────────────┘
50
52 attributes(5)
53
54
55
56SunOS 5.11 2 Mar 2007 mlib_SignalGaussNoise_F32(3MLIB)