1mlib_SignalDTWKVectorInit_Fm3e2d(i3aMLLiIbB)LibrarymFluinbc_tSiiognnsalDTWKVectorInit_F32(3MLIB)
2
3
4
6 mlib_SignalDTWKVectorInit_F32 - initialization for K-best paths of vec‐
7 tor data
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_SignalDTWKVectorInit_F32(void *state,
14 const mlib_f32 **dref, mlib_s32 lref, mlib_s32 ndata,
15 mlib_s32 kbest, mlib_s32 dtype, mlib_s32 delta,
16 mlib_s32 local, mlib_s32 slope);
17
18
20 The mlib_SignalDTWKVectorInit_F32() function initializes the internal
21 state structure for dynamic time warping (DTW) for K-best paths of vec‐
22 tor data.
23
24
25 The init function performs internal state structure allocation and
26 global initialization. Per DTW function call initialization is done in
27 DTW function, so the same internal state structure can be reused for
28 multiple DTW function calls.
29
31 The function takes the following arguments:
32
33 dref The reference data array.
34
35
36 lref The length of the reference data array.
37
38
39 ndata The length of each data vector.
40
41
42 kbest The number of the best paths evaluated.
43
44
45 dtype The type of distance metric between data vectors.
46 MLIB_DTW_L1NORM for L1 norm of difference (sum of absolute
47 difference). MLIB_DTW_L2NORM for L2 norm of difference
48 (Euclidean distance).
49
50
51 delta The delta in the endpoint constraints.
52
53
54 local The type of the local continuity constraints. MLIB_DTW_ITAKURA
55 for Itakura type constraints.
56
57
58 slope The type of the slope weighting. MLIB_DTW_NONE for no slope
59 weighting.
60
61
62 state Pointer to the internal state structure.
63
64
66 The function returns MLIB_SUCCESS if successful. Otherwise it returns
67 MLIB_FAILURE.
68
70 See attributes(5) for descriptions of the following attributes:
71
72
73
74
75 ┌─────────────────────────────┬─────────────────────────────┐
76 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
77 ├─────────────────────────────┼─────────────────────────────┤
78 │Interface Stability │Committed │
79 ├─────────────────────────────┼─────────────────────────────┤
80 │MT-Level │MT-Safe │
81 └─────────────────────────────┴─────────────────────────────┘
82
84 mlib_SignalDTWKVectorInit_F32(3MLIB), mlib_SignalDTWKVector_F32(3MLIB),
85 mlib_SignalDTWKVectorPath_F32(3MLIB), mlib_SignalDTWKVector‐
86 Free_F32(3MLIB), attributes(5)
87
88
89
90SunOS 5.11 2 Mar 200m7lib_SignalDTWKVectorInit_F32(3MLIB)