1mlib_SignalDTWVectorInit_S1m6e(d3iMaLLIiBb)Library Fmulnicbt_iSoingsnalDTWVectorInit_S16(3MLIB)
2
3
4

NAME

6       mlib_SignalDTWVectorInit_S16 - initialization for vector data
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_SignalDTWVectorInit_S16(void *state,
13            const mlib_s16 **dref, mlib_s32 lref, mlib_s32 ndata,
14            mlib_s32 dtype, mlib_s32 sref, mlib_s32 delta,
15            mlib_s32 local, mlib_s32 slope);
16
17

DESCRIPTION

19       The  mlib_SignalDTWVectorInit_S16()  function  initializes the internal
20       state structure for dynamic time warping (DTW) of vector data.
21
22
23       The init function performs  internal  state  structure  allocation  and
24       global  initialization. Per DTW function call initialization is done in
25       DTW function, so the same internal state structure can  be  reused  for
26       multiple DTW function calls.
27

PARAMETERS

29       The function takes the following arguments:
30
31       dref     The reference data array.
32
33
34       lref     The length of the reference data array.
35
36
37       ndata    The length of each data vector.
38
39
40       dtype    The   type   of   distance   metric   between   data  vectors.
41                MLIB_DTW_L1NORM for L1 norm of  difference  (sum  of  absolute
42                difference).   MLIB_DTW_L2NORM   for  L2  norm  of  difference
43                (Euclidean distance).
44
45
46       sref     The  scaling  factor  of  the  reference  data  array,   where
47                actual_data = input_data * 2**(-scaling_factor).
48
49
50       delta    The delta in the endpoint constraints.
51
52
53       local    The type of the local continuity constraints. MLIB_DTW_ITAKURA
54                for Itakura type constraints.
55
56
57       slope    The type of the slope weighting. MLIB_DTW_NONE  for  no  slope
58                weighting.
59
60
61       state    Pointer to the internal state structure.
62
63

RETURN VALUES

65       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
66       MLIB_FAILURE.
67

ATTRIBUTES

69       See attributes(5) for descriptions of the following attributes:
70
71
72
73
74       ┌─────────────────────────────┬─────────────────────────────┐
75       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
76       ├─────────────────────────────┼─────────────────────────────┤
77       │Interface Stability          │Committed                    │
78       ├─────────────────────────────┼─────────────────────────────┤
79       │MT-Level                     │MT-Safe                      │
80       └─────────────────────────────┴─────────────────────────────┘
81

SEE ALSO

83       mlib_SignalDTWVectorInit_S16(3MLIB),   mlib_SignalDTWVector_S16(3MLIB),
84       mlib_SignalDTWVectorPath_S16(3MLIB),              mlib_SignalDTWVector‐
85       Free_S16(3MLIB), attributes(5)
86
87
88
89SunOS 5.11                        2 Mar 2007mlib_SignalDTWVectorInit_S16(3MLIB)
Impressum