Content-type: text/html
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalDTWKScalarInit_S16(void *state, const mlib_s16 *dref, mlib_s32 lref, mlib_s32 kbest, mlib_s32 sref, mlib_s32 delta, mlib_s32 local, mlib_s32 slope);
The mlib_SignalDTWKScalarInit_S16() function initializes the internal state structure for dynamic time warping (DTW) for K-best paths of scalar data.
The init function performs internal state structure allocation and global initialization. Per DTW function call initialization is done in DTW function, so the same internal state structure can be reused for multiple DTW function calls.
The function takes the following arguments:
dref
lref
kbest
sref
delta
local
slope
state
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
See attributes(5) for descriptions of the following attributes:
|
mlib_SignalDTWKScalarInit_S16(3MLIB), mlib_SignalDTWKScalar_S16(3MLIB), mlib_SignalDTWKScalarPath_S16(3MLIB), mlib_SignalDTWKScalarFree_S16(3MLIB), attributes(5)