Next: , Previous: Predefined types, Up: System details


7.3 Realvec

The basic unit of data in Marsyas is the realvec, which is essentially a one- or two-dimensional array of real numbers. All data flows from MarSystem to MarSystem in the form of realvecs; the actual function which does the main work of every MarSystem is

     void
     MarSystem_name::myProcess(realvec& in, realvec& out)
     {
     	...
     }

In other words, each MarSystem takes a realvec as input, and writes a realvec as output.