1mlib_SignalDTWScalarInit_S1m6e(d3iMaLLIiBb)Library Fmulnicbt_iSoingsnalDTWScalarInit_S16(3MLIB)
2
3
4
6 mlib_SignalDTWScalarInit_S16 - initialization for scalar data
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_SignalDTWScalarInit_S16(void *state,
13 const mlib_s16 *dref, mlib_s32 lref, mlib_s32 sref,
14 mlib_s32 delta, mlib_s32 local, mlib_s32 slope);
15
16
18 The mlib_SignalDTWScalarInit_S16() function initializes the internal
19 state structure for dynamic time warping (DTW) of scalar data.
20
21
22 The init function performs internal state structure allocation and
23 global initialization. Per DTW function call initialization is done in
24 DTW function, so the same internal state structure can be reused for
25 multiple DTW function calls.
26
28 The function takes the following arguments:
29
30 dref The reference data array.
31
32
33 lref The length of the reference data array.
34
35
36 sref The scaling factor of the reference data array, where
37 actual_data = input_data * 2**(-scaling_factor).
38
39
40 delta The delta in the endpoint constraints.
41
42
43 local The type of the local continuity constraints. MLIB_DTW_ITAKURA
44 for Itakura type constraints.
45
46
47 slope The type of the slope weighting. MLIB_DTW_NONE for no slope
48 weighting.
49
50
51 state Pointer to the internal state structure.
52
53
55 The function returns MLIB_SUCCESS if successful. Otherwise it returns
56 MLIB_FAILURE.
57
59 See attributes(5) for descriptions of the following attributes:
60
61
62
63
64 ┌─────────────────────────────┬─────────────────────────────┐
65 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
66 ├─────────────────────────────┼─────────────────────────────┤
67 │Interface Stability │Committed │
68 ├─────────────────────────────┼─────────────────────────────┤
69 │MT-Level │MT-Safe │
70 └─────────────────────────────┴─────────────────────────────┘
71
73 mlib_SignalDTWScalarInit_S16(3MLIB), mlib_SignalDTWScalar_S16(3MLIB),
74 mlib_SignalDTWScalarPath_S16(3MLIB), mlib_SignalDTWScalar‐
75 Free_S16(3MLIB), attributes(5)
76
77
78
79SunOS 5.11 2 Mar 2007mlib_SignalDTWScalarInit_S16(3MLIB)