next up previous
Next: SEQUENCE Data Structure Up: Data Structures Previous: Data Structures

STATIC Data Structure

This is the STATIC Data Structure:

/*** STATIC Type Data Structure ***/
struct DS_Static{
  int num_inpts; 
  int num_outpts; 
  int num_samps;
  double *start_inpt;
  double *start_outpt;
  double **inpt;
  double **outpt;
};

The inpt array for input values is indexed as: inpt[vector number][component number]. The output vector is similarly arranged. The start_inpt and start_outpt arrays contain the original pointers to each input/output vector. The shuffle_DS_Static routine can reorder the input/output vectors, so these pointers are kept so that the original vector order can be restored as needed.



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