Sequence

They are implemented as

template<class C, class R=std::vector<C> > struct Seq;

where

Example

Seq<double> s("3.1 3.2");
s.push_back(3.3); 
s[1];                  //yield 3.2
Seq<double> t = s,s;   //concatenation of the sequence

Implementation

See also:
synaps/base/Seq.h

SYNAPS DOCUMENTATION
logo