next up previous
Next: C Routines Up: Data Structures Previous: STATIC Data Structure

SEQUENCE Data Structure

This is the SEQUENCE data structure:

/*** SEQUENCE Type Data Structure **/
struct DS_Sequence{
  int num_inpts;
  int num_outpts;
  int num_pats;
  int num_samps;
  int *patlen;
  int max_patlen;
  double **start_inpt;
  double *start_outpt;
  double ***inpt;
  double **outpt;
};

Here, pat_len[] holds the number of vectors in each pattern. Input is of the form inpt[pattern number][vector number][component number] while output is of the form outpt[pattern number][component number] The start_inpt and start_outpt arrays function similarly to the ones in the STATIC data structure.



Kui-yu Chang
Wed Mar 12 14:55:12 CST 1997