1mlib_SignalGaussNoiseInit_Sm1e6d(i3aMLLiIbB)LibrarymFluinbc_tSiiognnsalGaussNoiseInit_S16(3MLIB)
2
3
4
6 mlib_SignalGaussNoiseInit_S16 - Gaussian noise generation
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_SignalGaussNoiseInit_S16(void **state, mlib_s16 mag,
13 mlib_f32 mean, mlib_f32 stddev, mlib_s16 seed);
14
15
17 The mlib_SignalGaussNoiseInit_S16() function allocates memory for an
18 internal state structure and converts the parameters into an internal
19 representation.
20
22 The function takes the following arguments:
23
24 state Internal state structure.
25
26
27 mag Magnitude of the Gaussian noise to be generated, in Q15 for‐
28 mat.
29
30
31 mean Mean of the Gaussian noise.
32
33
34 stddev Standard deviation of the Gaussian noise.
35
36
37 seed Seed value for the pseudorandom number generator.
38
39
41 The function returns MLIB_SUCCESS if successful. Otherwise it returns
42 MLIB_FAILURE.
43
45 See attributes(5) for descriptions of the following attributes:
46
47
48
49
50 ┌─────────────────────────────┬─────────────────────────────┐
51 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
52 ├─────────────────────────────┼─────────────────────────────┤
53 │Interface Stability │Committed │
54 ├─────────────────────────────┼─────────────────────────────┤
55 │MT-Level │MT-Safe │
56 └─────────────────────────────┴─────────────────────────────┘
57
59 mlib_SignalGaussNoise_S16(3MLIB), mlib_SignalGaussNoiseFree_S16(3MLIB),
60 attributes(5)
61
62
63
64SunOS 5.11 2 Mar 200m7lib_SignalGaussNoiseInit_S16(3MLIB)