1mlib_SignalGaussNoiseInit_Fm3e2d(i3aMLLiIbB)LibrarymFluinbc_tSiiognnsalGaussNoiseInit_F32(3MLIB)
2
3
4
6 mlib_SignalGaussNoiseInit_F32 - Gaussian noise generation
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_SignalGaussNoiseInit_F32(void **state, mlib_f32 mag,
13 mlib_f32 mean, mlib_f32 stddev, mlib_f32 seed);
14
15
17 The mlib_SignalGaussNoiseInit_F32() 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 attributes(5)
60
61
62
63SunOS 5.11 2 Mar 200m7lib_SignalGaussNoiseInit_F32(3MLIB)