'\" te .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved .TH mlib_SignalDTWScalarInit_F32 3MLIB "2 Mar 2007" "SunOS 5.11" "mediaLib Library Functions" .SH NAME mlib_SignalDTWScalarInit_F32 \- initialization for scalar data .SH SYNOPSIS .LP .nf cc [ \fIflag\fR... ] \fIfile\fR... \fB-lmlib\fR [ \fIlibrary\fR... ] #include \fBmlib_status\fR \fBmlib_SignalDTWScalarInit_F32\fR(\fBvoid *\fR\fIstate\fR, \fBconst mlib_f32 *\fR\fIdref\fR, \fBmlib_s32\fR \fIlref\fR, \fBmlib_s32\fR \fIdelta\fR, \fBmlib_s32\fR \fIlocal\fR, \fBmlib_s32\fR \fIslope\fR); .fi .SH DESCRIPTION .sp .LP The \fBmlib_SignalDTWScalarInit_F32()\fR function initializes the internal state structure for dynamic time warping (DTW) of scalar data. .sp .LP 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. .SH PARAMETERS .sp .LP The function takes the following arguments: .sp .ne 2 .mk .na \fB\fIdref\fR\fR .ad .RS 9n .rt The reference data array. .RE .sp .ne 2 .mk .na \fB\fIlref\fR\fR .ad .RS 9n .rt The length of the reference data array. .RE .sp .ne 2 .mk .na \fB\fIdelta\fR\fR .ad .RS 9n .rt The delta in the endpoint constraints. .RE .sp .ne 2 .mk .na \fB\fIlocal\fR\fR .ad .RS 9n .rt The type of the local continuity constraints. \fBMLIB_DTW_ITAKURA\fR for Itakura type constraints. .RE .sp .ne 2 .mk .na \fB\fIslope\fR\fR .ad .RS 9n .rt The type of the slope weighting. \fBMLIB_DTW_NONE\fR for no slope weighting. .RE .sp .ne 2 .mk .na \fB\fIstate\fR\fR .ad .RS 9n .rt Pointer to the internal state structure. .RE .SH RETURN VALUES .sp .LP The function returns \fBMLIB_SUCCESS\fR if successful. Otherwise it returns \fBMLIB_FAILURE\fR. .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Interface StabilityCommitted _ MT-LevelMT-Safe .TE .SH SEE ALSO .sp .LP mlib_SignalDTWScalarInit_F32(3MLIB), \fBmlib_SignalDTWScalar_F32\fR(3MLIB), \fBmlib_SignalDTWScalarPath_F32\fR(3MLIB), \fBmlib_SignalDTWScalarFree_F32\fR(3MLIB), \fBattributes\fR(5)