1mlib_SignalDTWVectorInit_F3m2e(d3iMaLLIiBb)Library Fmulnicbt_iSoingsnalDTWVectorInit_F32(3MLIB)
2
3
4

NAME

6       mlib_SignalDTWVectorInit_F32 - initialization for vector data
7

SYNOPSIS

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

DESCRIPTION

19       The  mlib_SignalDTWVectorInit_F32()  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       delta    The delta in the endpoint constraints.
47
48
49       local    The type of the local continuity constraints. MLIB_DTW_ITAKURA
50                for Itakura type constraints.
51
52
53       slope    The  type  of  the slope weighting. MLIB_DTW_NONE for no slope
54                weighting.
55
56
57       state    Pointer to the internal state structure.
58
59

RETURN VALUES

61       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
62       MLIB_FAILURE.
63

ATTRIBUTES

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

SEE ALSO

79       mlib_SignalDTWVectorInit_F32(3MLIB),   mlib_SignalDTWVector_F32(3MLIB),
80       mlib_SignalDTWVectorPath_F32(3MLIB),              mlib_SignalDTWVector‐
81       Free_F32(3MLIB), attributes(5)
82
83
84
85SunOS 5.11                        2 Mar 2007mlib_SignalDTWVectorInit_F32(3MLIB)
Impressum