1mlib_SignalWhiteNoiseInit_Fm3e2d(i3aMLLiIbB)LibrarymFluinbc_tSiiognnsalWhiteNoiseInit_F32(3MLIB)
2
3
4
6 mlib_SignalWhiteNoiseInit_F32 - white noise generation
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_SignalWhiteNoiseInit_F32(void **state, mlib_f32 mag,
13 mlib_f32 seed);
14
15
17 The mlib_SignalWhiteNoiseInit_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 white noise to be generated, in Q15 format.
28
29
30 seed Seed value for the pseudorandom number generator.
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 200m7lib_SignalWhiteNoiseInit_F32(3MLIB)