\hypertarget{group__Sequence1}{}\section{One-\/\+Dimensional Sequences}
\label{group__Sequence1}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}


One-\/dimensional sequences.  


\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classSPL_1_1Sequence1}{S\+P\+L\+::\+Sequence1$<$ T $>$}
\begin{DoxyCompactList}\small\item\em A one-\/dimensional sequence class with lazy copying and reference counting. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef Sequence1$<$ double $>$ \hyperlink{group__Sequence1_ga5c1c0ab58058e8c920c2339fc593e6c2}{S\+P\+L\+::\+Real\+Sequence1}
\begin{DoxyCompactList}\small\item\em Real sequence. \end{DoxyCompactList}\item 
typedef Sequence1$<$ int $>$ \hyperlink{group__Sequence1_ga1cf635d243fb6f7c900ea483cc28624f}{S\+P\+L\+::\+Int\+Sequence1}
\begin{DoxyCompactList}\small\item\em Integer sequence. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$class T $>$ }\\std\+::ostream \& \hyperlink{group__Sequence1_ga244cbf41f3ecf0a8d44e0cd7d8a5969c}{S\+P\+L\+::operator$<$$<$} (std\+::ostream \&out, const Sequence1$<$ T $>$ \&f)
\begin{DoxyCompactList}\small\item\em Output a sequence to a stream. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\std\+::istream \& \hyperlink{group__Sequence1_ga3c0389e9ea339c6c7165405dd7a6003b}{S\+P\+L\+::operator$>$$>$} (std\+::istream \&in, Sequence1$<$ T $>$ \&f)
\begin{DoxyCompactList}\small\item\em Input a sequence from a stream. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\\hyperlink{Sequence1_8hpp_a6d997656cd08515ed30f524d6373daf0}{S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \hyperlink{group__Sequence1_gaa7b1953ffd3d6473ad75c8b67babc580}{S\+P\+L\+::operator+} (const Sequence1$<$ T $>$ \&f, const Sequence1$<$ T $>$ \&g)
\begin{DoxyCompactList}\small\item\em Compute the sum of two sequences. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\\hyperlink{Sequence1_8hpp_a6d997656cd08515ed30f524d6373daf0}{S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \hyperlink{group__Sequence1_ga8b65262f68af3fca242d49f01566faf7}{S\+P\+L\+::operator-\/} (const Sequence1$<$ T $>$ \&f, const Sequence1$<$ T $>$ \&g)
\begin{DoxyCompactList}\small\item\em Compute the difference of two sequences. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\\hyperlink{Sequence1_8hpp_a6d997656cd08515ed30f524d6373daf0}{S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \hyperlink{group__Sequence1_ga159da7e2aad3628d61f78b95bf0a1f3b}{S\+P\+L\+::operator$\ast$} (const Sequence1$<$ T $>$ \&f, const Sequence1$<$ T $>$ \&g)
\begin{DoxyCompactList}\small\item\em Compute the (element-\/wise) product of two sequences. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\\hyperlink{Sequence1_8hpp_a6d997656cd08515ed30f524d6373daf0}{S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \hyperlink{group__Sequence1_ga06b60abe2aac1900bddd00fe86ba747c}{S\+P\+L\+::operator/} (const Sequence1$<$ T $>$ \&f, const Sequence1$<$ T $>$ \&g)
\begin{DoxyCompactList}\small\item\em Compute the (element-\/wise) quotient of two sequences. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\Sequence1$<$ T $>$ \hyperlink{group__Sequence1_ga5a56e479ae6a9d869369007481dffe1f}{S\+P\+L\+::add} (const Sequence1$<$ T $>$ \&f, const Sequence1$<$ T $>$ \&g)
\begin{DoxyCompactList}\small\item\em Compute the sum of two sequences with potentially differing domains. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\\hyperlink{Sequence1_8hpp_a6d997656cd08515ed30f524d6373daf0}{S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \hyperlink{group__Sequence1_ga32478b087b8c3a1ddd61482ed96b279f}{S\+P\+L\+::operator+} (const T \&a, const Sequence1$<$ T $>$ \&f)
\begin{DoxyCompactList}\small\item\em Add a value to a sequence. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\\hyperlink{Sequence1_8hpp_a6d997656cd08515ed30f524d6373daf0}{S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \hyperlink{group__Sequence1_ga73deeb76f4438dd1ee81152712b47645}{S\+P\+L\+::operator+} (const Sequence1$<$ T $>$ \&f, const T \&a)
\begin{DoxyCompactList}\small\item\em Add a value to a sequence. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\\hyperlink{Sequence1_8hpp_a6d997656cd08515ed30f524d6373daf0}{S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \hyperlink{group__Sequence1_gacb98697ef1c5f284940e145422dc8c25}{S\+P\+L\+::operator-\/} (const Sequence1$<$ T $>$ \&f, const T \&a)
\begin{DoxyCompactList}\small\item\em Subtract a value from a sequence. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\\hyperlink{Sequence1_8hpp_a6d997656cd08515ed30f524d6373daf0}{S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \hyperlink{group__Sequence1_ga2d509569f70067618a7271a3e9899590}{S\+P\+L\+::operator$\ast$} (const T \&a, const Sequence1$<$ T $>$ \&f)
\begin{DoxyCompactList}\small\item\em Compute a scalar multiple of a sequence. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\\hyperlink{Sequence1_8hpp_a6d997656cd08515ed30f524d6373daf0}{S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \hyperlink{group__Sequence1_gad6d431511255663c36d0b6b6c54c460b}{S\+P\+L\+::operator$\ast$} (const Sequence1$<$ T $>$ \&f, const T \&a)
\begin{DoxyCompactList}\small\item\em Compute a scalar multiple of a sequence. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\\hyperlink{Sequence1_8hpp_a6d997656cd08515ed30f524d6373daf0}{S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \hyperlink{group__Sequence1_ga40973abce3db28e89c34baab5f91fa2d}{S\+P\+L\+::operator/} (const Sequence1$<$ T $>$ \&f, const T \&a)
\begin{DoxyCompactList}\small\item\em Divide a sequence by a scalar. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\\hyperlink{Sequence1_8hpp_a6d997656cd08515ed30f524d6373daf0}{S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} bool \hyperlink{group__Sequence1_ga9eb828612692369676e67c258d288f57}{S\+P\+L\+::operator==} (const Sequence1$<$ T $>$ \&f, const Sequence1$<$ T $>$ \&g)
\begin{DoxyCompactList}\small\item\em Test two sequences for equality. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\\hyperlink{Sequence1_8hpp_a6d997656cd08515ed30f524d6373daf0}{S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} bool \hyperlink{group__Sequence1_ga22b0e4bd7d66ece8131ffc8bed724d9c}{S\+P\+L\+::operator!=} (const Sequence1$<$ T $>$ \&f, const Sequence1$<$ T $>$ \&g)
\begin{DoxyCompactList}\small\item\em Test two sequences for inequality. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\\hyperlink{Sequence1_8hpp_a6d997656cd08515ed30f524d6373daf0}{S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} bool \hyperlink{group__Sequence1_gaed24daed3c4c55095b0f2c3cdb75f668}{S\+P\+L\+::approx\+Equal} (const Sequence1$<$ T $>$ \&f, const Sequence1$<$ T $>$ \&g, T threshold=1e-\/9)
\begin{DoxyCompactList}\small\item\em Test two sequences for approximate equality. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\Sequence1$<$ T $>$ \hyperlink{group__Sequence1_ga2ea81846f6c0320b879e50609ccffb61}{S\+P\+L\+::subsequence} (const Sequence1$<$ T $>$ \&f, int start\+Ind, int size)
\begin{DoxyCompactList}\small\item\em Extract a subsequence from a sequence. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\\hyperlink{Sequence1_8hpp_a6d997656cd08515ed30f524d6373daf0}{S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \hyperlink{group__Sequence1_ga2d5b936462997eed9f860e812ee8431b}{S\+P\+L\+::translate} (const Sequence1$<$ T $>$ \&f, int delta)
\begin{DoxyCompactList}\small\item\em Translate a sequence by the specified amount. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\Sequence1$<$ T $>$ \hyperlink{group__Sequence1_gae3727ebf13bf60a63ed23c1d760f12c4}{S\+P\+L\+::convolve} (const Sequence1$<$ T $>$ \&f, const Sequence1$<$ T $>$ \&g, int mode=Convolve\+Mode\+::full)
\begin{DoxyCompactList}\small\item\em Compute the convolution of two sequences. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\Sequence1$<$ T $>$ \hyperlink{group__Sequence1_ga72f351125a956688ffedb05aa615ab25}{S\+P\+L\+::downsample} (const Sequence1$<$ T $>$ \&f, int factor)
\begin{DoxyCompactList}\small\item\em Downsample a sequence by the specified factor. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\Sequence1$<$ T $>$ \hyperlink{group__Sequence1_ga162d7f981e031faf4ef630974010727d}{S\+P\+L\+::upsample} (const Sequence1$<$ T $>$ \&f, int factor, int pad=0)
\begin{DoxyCompactList}\small\item\em Upsample a sequence by the specified factor. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\Array1$<$ Sequence1$<$ T $>$ $>$ \hyperlink{group__Sequence1_ga34f426df7de61a393a4dd1e000014402}{S\+P\+L\+::polyphase\+Split} (const Sequence1$<$ T $>$ \&seq, int type, int num\+Phases)
\begin{DoxyCompactList}\small\item\em Split a sequence into its polyphase components. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\Sequence1$<$ T $>$ \hyperlink{group__Sequence1_gacdb17b76e562cd9551f62bdfc873a8b6}{S\+P\+L\+::polyphase\+Join} (const Array1$<$ Sequence1$<$ T $>$ $>$ \&comps, int type)
\begin{DoxyCompactList}\small\item\em Reassemble a sequence from its polyphase components. \end{DoxyCompactList}\item 
\hyperlink{group__Sequence1_ga877aa1b289aeecb6fa28ba2ed800a63c}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::\+Sequence1} ()
\begin{DoxyCompactList}\small\item\em The default constructor. \end{DoxyCompactList}\item 
\hyperlink{group__Sequence1_gaac3b39c8c2caaa61f2a6ec425a985a1c}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::\+Sequence1} (int start\+Ind, int size)
\begin{DoxyCompactList}\small\item\em Construct a sequence with the specified start index and size. \end{DoxyCompactList}\item 
\hyperlink{group__Sequence1_ga2af5d425dc90f7fbc2d25077af98abec}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::\+Sequence1} (int start\+Ind, int size, const T \&value)
\begin{DoxyCompactList}\small\item\em Construct a sequence with the specified start index and size, with all elements set to the given value. \end{DoxyCompactList}\item 
\hyperlink{group__Sequence1_ga431aa354561dce233f7c414f7700932e}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::\+Sequence1} (const Array1$<$ T $>$ \&data)
\begin{DoxyCompactList}\small\item\em Create a sequence from an array. \end{DoxyCompactList}\item 
\hyperlink{group__Sequence1_ga3ab63d27aef18859073f2ad5bb33193e}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::\+Sequence1} (int start\+Ind, const Array1$<$ T $>$ \&data)
\begin{DoxyCompactList}\small\item\em Create a sequence from an array using the given starting index. \end{DoxyCompactList}\item 
\hyperlink{group__Sequence1_ga32be4412f26e6625b81ff826d4a65209}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::\+Sequence1} (const Sequence1 \&f)
\begin{DoxyCompactList}\small\item\em The copy constructor. \end{DoxyCompactList}\item 
\hyperlink{group__Sequence1_ga8c39adc17bf58f33c158fffa1128991a}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::$\sim$\+Sequence1} ()
\begin{DoxyCompactList}\small\item\em The destructor. \end{DoxyCompactList}\item 
Sequence1 \& \hyperlink{group__Sequence1_ga26fd22a681ea63554c22c74d0e9c19f0}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::operator=} (const Sequence1 \&f)
\begin{DoxyCompactList}\small\item\em The assignment operator. \end{DoxyCompactList}\item 
Sequence1 \& \hyperlink{group__Sequence1_ga9048e80486a67d48e6e03184e68d00c6}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::operator+=} (const Sequence1 \&f)
\begin{DoxyCompactList}\small\item\em Add another sequence to this one. \end{DoxyCompactList}\item 
Sequence1 \& \hyperlink{group__Sequence1_ga8896fcd5a23941ffe6f82f29ce696f20}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::operator-\/=} (const Sequence1 \&f)
\begin{DoxyCompactList}\small\item\em Subtract another sequence from this one. \end{DoxyCompactList}\item 
Sequence1 \& \hyperlink{group__Sequence1_ga0dd12ad34a95b7391bb4d24af60cf24d}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::operator$\ast$=} (const Sequence1 \&f)
\begin{DoxyCompactList}\small\item\em Multiply elementwise this sequence by another one. \end{DoxyCompactList}\item 
Sequence1 \& \hyperlink{group__Sequence1_ga6f9d2a03842e2abd1c8539c5920e8a22}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::operator/=} (const Sequence1 \&f)
\begin{DoxyCompactList}\small\item\em Divide elementwise this sequence by another one. \end{DoxyCompactList}\item 
Sequence1 \& \hyperlink{group__Sequence1_gab9041794a014d308ca27fc57d17c9aaa}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::operator+=} (const T \&value)
\begin{DoxyCompactList}\small\item\em Add a value to each element of this sequence. \end{DoxyCompactList}\item 
Sequence1 \& \hyperlink{group__Sequence1_ga589984c8ccca548be00d44f776ac985f}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::operator-\/=} (const T \&value)
\begin{DoxyCompactList}\small\item\em Subtract a value from each element of this sequence. \end{DoxyCompactList}\item 
Sequence1 \& \hyperlink{group__Sequence1_ga5291149b693d4ef9b97cbccb154949dd}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::operator$\ast$=} (const T \&value)
\begin{DoxyCompactList}\small\item\em Multiply each element of this sequence by the specified value. \end{DoxyCompactList}\item 
Sequence1 \& \hyperlink{group__Sequence1_gaf04030b0a17904f6d490ed531afb9ef6}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::operator/=} (const T \&value)
\begin{DoxyCompactList}\small\item\em Divide each element of the sequence by the given value. \end{DoxyCompactList}\item 
int \hyperlink{group__Sequence1_ga19f3bb7dd56945d8b14ffbae4c6c3909}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::get\+Start\+Ind} () const 
\begin{DoxyCompactList}\small\item\em Get the start index for the sequence. \end{DoxyCompactList}\item 
int \hyperlink{group__Sequence1_ga0a71d51fe08d2ac2f6c18a1131993b8f}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::get\+End\+Ind} () const 
\begin{DoxyCompactList}\small\item\em Get the end index for the sequence. \end{DoxyCompactList}\item 
int \hyperlink{group__Sequence1_ga92b2556e2f47703a3032a7014202c7da}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::get\+Size} () const 
\begin{DoxyCompactList}\small\item\em Get the length of the sequence. \end{DoxyCompactList}\item 
bool \hyperlink{group__Sequence1_gab720f6ff9ddf78be2a49a1e3feb533da}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::is\+Shared} () const 
\begin{DoxyCompactList}\small\item\em Is the array for this sequence shared with another array? \end{DoxyCompactList}\item 
const T \& \hyperlink{group__Sequence1_ga7854430bb4860ad05f519f12793c3693}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::operator()} (int i) const 
\begin{DoxyCompactList}\small\item\em Get the specified element in the sequence. \end{DoxyCompactList}\item 
T \& \hyperlink{group__Sequence1_ga258748afe582ef37ad400728c63b7443}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::operator()} (int i)
\begin{DoxyCompactList}\small\item\em Get the specified element in the sequence. \end{DoxyCompactList}\item 
Const\+Iterator \hyperlink{group__Sequence1_ga982c532eebab2cac5d3e31b980dd6db6}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::begin} () const 
\begin{DoxyCompactList}\small\item\em Get an iterator referencing the first element in the sequence. \end{DoxyCompactList}\item 
Const\+Iterator \hyperlink{group__Sequence1_ga30f9ad94b461824da07a9b9cacdf6b2f}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::end} () const 
\begin{DoxyCompactList}\small\item\em Get an iterator referencing just after the last element in the sequence. \end{DoxyCompactList}\item 
Iterator \hyperlink{group__Sequence1_ga892da97454a54870c2f79b57644df44b}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::begin} ()
\begin{DoxyCompactList}\small\item\em Get an iterator referencing the first element in the sequence. \end{DoxyCompactList}\item 
Iterator \hyperlink{group__Sequence1_gabf74893aba8d4df5808a58706583f339}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::end} ()
\begin{DoxyCompactList}\small\item\em Get an iterator referencing just after the last element in the sequence. \end{DoxyCompactList}\item 
T \hyperlink{group__Sequence1_ga24d9aba91a2b29fde21b8a423aa482d5}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::min} () const 
\begin{DoxyCompactList}\small\item\em Get the minimum element in the sequence. \end{DoxyCompactList}\item 
T \hyperlink{group__Sequence1_gaad48c4cd9c08a632358e3a78333e76ee}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::max} () const 
\begin{DoxyCompactList}\small\item\em Get the maximum element in the sequence. \end{DoxyCompactList}\item 
T \hyperlink{group__Sequence1_gabd2efa6deb2c13ee4bea7fabecb47585}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::sum} () const 
\begin{DoxyCompactList}\small\item\em Get the sum of the elements in the sequence. \end{DoxyCompactList}\item 
void \hyperlink{group__Sequence1_ga2acd6022bb336135e04f8cc8b21dad3b}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::swap\+Array} (Array1$<$ T $>$ \&data)
\begin{DoxyCompactList}\small\item\em Swap the data for the underlying array and the specified array. \end{DoxyCompactList}\item 
void \hyperlink{group__Sequence1_gaefdab9336d8361d9b078a40d03e26136}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::fill} (const T \&value)
\begin{DoxyCompactList}\small\item\em Set all of the elements in the sequence to the specified value. \end{DoxyCompactList}\item 
Array1$<$ T $>$ \hyperlink{group__Sequence1_gaa1c4aedc1e49df94c28620776ed40e73}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::get\+Array} () const 
\begin{DoxyCompactList}\small\item\em Get a copy of the underlying array. \end{DoxyCompactList}\item 
Sequence1 \& \hyperlink{group__Sequence1_ga2ddb39ff6c0e8f1f53b47ba4f9f200e5}{S\+P\+L\+::\+Sequence1$<$ T $>$\+::translate} (int delta)
\begin{DoxyCompactList}\small\item\em Translate (i.\+e., shift) a sequence by the specified displacement. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
One-\/dimensional sequences. 



\subsection{Typedef Documentation}
\hypertarget{group__Sequence1_ga1cf635d243fb6f7c900ea483cc28624f}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!Int\+Sequence1@{Int\+Sequence1}}
\index{Int\+Sequence1@{Int\+Sequence1}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{Int\+Sequence1}]{\setlength{\rightskip}{0pt plus 5cm}typedef Sequence1$<$int$>$ {\bf S\+P\+L\+::\+Int\+Sequence1}}\label{group__Sequence1_ga1cf635d243fb6f7c900ea483cc28624f}


Integer sequence. 

\hypertarget{group__Sequence1_ga5c1c0ab58058e8c920c2339fc593e6c2}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!Real\+Sequence1@{Real\+Sequence1}}
\index{Real\+Sequence1@{Real\+Sequence1}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{Real\+Sequence1}]{\setlength{\rightskip}{0pt plus 5cm}typedef Sequence1$<$double$>$ {\bf S\+P\+L\+::\+Real\+Sequence1}}\label{group__Sequence1_ga5c1c0ab58058e8c920c2339fc593e6c2}


Real sequence. 



\subsection{Function Documentation}
\hypertarget{group__Sequence1_ga5a56e479ae6a9d869369007481dffe1f}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!add@{add}}
\index{add@{add}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{add}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ Sequence1$<$T$>$ S\+P\+L\+::add (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{g}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga5a56e479ae6a9d869369007481dffe1f}


Compute the sum of two sequences with potentially differing domains. 

Effects\+: The sum of the sequences f and g is computed. The domain of the sum is taken to be the smallest domain that contains the domains of both of the sequences being summed.

Returns\+: The sum is returned. \hypertarget{group__Sequence1_gaed24daed3c4c55095b0f2c3cdb75f668}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!approx\+Equal@{approx\+Equal}}
\index{approx\+Equal@{approx\+Equal}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{approx\+Equal}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} bool S\+P\+L\+::approx\+Equal (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{g, }
\item[{T}]{threshold = {\ttfamily 1e-\/9}}
\end{DoxyParamCaption}
)}\label{group__Sequence1_gaed24daed3c4c55095b0f2c3cdb75f668}


Test two sequences for approximate equality. 

\hypertarget{group__Sequence1_ga982c532eebab2cac5d3e31b980dd6db6}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!begin@{begin}}
\index{begin@{begin}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{begin}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$\+::Const\+Iterator {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::begin (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Sequence1_ga982c532eebab2cac5d3e31b980dd6db6}


Get an iterator referencing the first element in the sequence. 

Returns\+: An iterator referencing the first element in the sequence (i.\+e., the element with index \hyperlink{group__Sequence1_ga19f3bb7dd56945d8b14ffbae4c6c3909}{get\+Start\+Ind()}) is returned. \hypertarget{group__Sequence1_ga892da97454a54870c2f79b57644df44b}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!begin@{begin}}
\index{begin@{begin}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{begin}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$\+::Iterator {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::begin (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga892da97454a54870c2f79b57644df44b}


Get an iterator referencing the first element in the sequence. 

Returns\+: An iterator referencing the first element in the sequence (i.\+e., the element with index \hyperlink{group__Sequence1_ga19f3bb7dd56945d8b14ffbae4c6c3909}{get\+Start\+Ind()}) is returned. \hypertarget{group__Sequence1_gae3727ebf13bf60a63ed23c1d760f12c4}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!convolve@{convolve}}
\index{convolve@{convolve}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{convolve}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ Sequence1$<$T$>$ S\+P\+L\+::convolve (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{g, }
\item[{int}]{mode = {\ttfamily {\bf Convolve\+Mode\+::full}}}
\end{DoxyParamCaption}
)}\label{group__Sequence1_gae3727ebf13bf60a63ed23c1d760f12c4}


Compute the convolution of two sequences. 

Effects\+: The convolution of the sequences f and g is computed. The domain of the resulting sequence (as well as how boundaries are handled) depends on the convolution mode mode. The \char`\"{}full\char`\"{} mode is the same as the \char`\"{}full\char`\"{} mode in M\+A\+T\+L\+A\+B. The \char`\"{}same\+Domain\+Zero\+Ext\char`\"{} mode is the same as the \char`\"{}same\char`\"{} mode in M\+A\+T\+L\+A\+B.

Returns\+: A sequence containing the convolution result is returned. \hypertarget{group__Sequence1_ga72f351125a956688ffedb05aa615ab25}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!downsample@{downsample}}
\index{downsample@{downsample}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{downsample}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ Sequence1$<$T$>$ S\+P\+L\+::downsample (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{int}]{factor}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga72f351125a956688ffedb05aa615ab25}


Downsample a sequence by the specified factor. 

Effects\+: The sequence f is downsampled by the factor factor.

Returns\+: The downsampled sequence is returned. \hypertarget{group__Sequence1_ga30f9ad94b461824da07a9b9cacdf6b2f}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!end@{end}}
\index{end@{end}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{end}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$\+::Const\+Iterator {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::end (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Sequence1_ga30f9ad94b461824da07a9b9cacdf6b2f}


Get an iterator referencing just after the last element in the sequence. 

Returns\+: An iterator for the end of the sequence (i.\+e., one past the last element) is returned. \hypertarget{group__Sequence1_gabf74893aba8d4df5808a58706583f339}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!end@{end}}
\index{end@{end}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{end}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$\+::Iterator {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::end (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{group__Sequence1_gabf74893aba8d4df5808a58706583f339}


Get an iterator referencing just after the last element in the sequence. 

Returns\+: An iterator for the end of the sequence (i.\+e., one past the last element) is returned. \hypertarget{group__Sequence1_gaefdab9336d8361d9b078a40d03e26136}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!fill@{fill}}
\index{fill@{fill}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{fill}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} void {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::fill (
\begin{DoxyParamCaption}
\item[{const T \&}]{value}
\end{DoxyParamCaption}
)}\label{group__Sequence1_gaefdab9336d8361d9b078a40d03e26136}


Set all of the elements in the sequence to the specified value. 

Effects\+: Each elements in the sequence is set to the value value. \hypertarget{group__Sequence1_gaa1c4aedc1e49df94c28620776ed40e73}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!get\+Array@{get\+Array}}
\index{get\+Array@{get\+Array}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{get\+Array}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Array1$<$ T $>$ {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::get\+Array (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Sequence1_gaa1c4aedc1e49df94c28620776ed40e73}


Get a copy of the underlying array. 

\hypertarget{group__Sequence1_ga0a71d51fe08d2ac2f6c18a1131993b8f}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!get\+End\+Ind@{get\+End\+Ind}}
\index{get\+End\+Ind@{get\+End\+Ind}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{get\+End\+Ind}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} int {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::get\+End\+Ind (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Sequence1_ga0a71d51fe08d2ac2f6c18a1131993b8f}


Get the end index for the sequence. 

Returns\+: The ending index (i.\+e., one past the last valid index) is returned. \hypertarget{group__Sequence1_ga92b2556e2f47703a3032a7014202c7da}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!get\+Size@{get\+Size}}
\index{get\+Size@{get\+Size}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{get\+Size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} int {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::get\+Size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Sequence1_ga92b2556e2f47703a3032a7014202c7da}


Get the length of the sequence. 

Returns\+: The number of elements in the sequence is returned. This value is equivalent to \hyperlink{group__Sequence1_ga0a71d51fe08d2ac2f6c18a1131993b8f}{get\+End\+Ind()} -\/ \hyperlink{group__Sequence1_ga19f3bb7dd56945d8b14ffbae4c6c3909}{get\+Start\+Ind()}. \hypertarget{group__Sequence1_ga19f3bb7dd56945d8b14ffbae4c6c3909}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!get\+Start\+Ind@{get\+Start\+Ind}}
\index{get\+Start\+Ind@{get\+Start\+Ind}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{get\+Start\+Ind}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} int {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::get\+Start\+Ind (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Sequence1_ga19f3bb7dd56945d8b14ffbae4c6c3909}


Get the start index for the sequence. 

Returns\+: The starting index for the sequence is returned. \hypertarget{group__Sequence1_gab720f6ff9ddf78be2a49a1e3feb533da}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!is\+Shared@{is\+Shared}}
\index{is\+Shared@{is\+Shared}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{is\+Shared}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} bool {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::is\+Shared (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Sequence1_gab720f6ff9ddf78be2a49a1e3feb533da}


Is the array for this sequence shared with another array? 

\hypertarget{group__Sequence1_gaad48c4cd9c08a632358e3a78333e76ee}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!max@{max}}
\index{max@{max}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{max}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} T {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::max (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Sequence1_gaad48c4cd9c08a632358e3a78333e76ee}


Get the maximum element in the sequence. 

The sequence must contain at least one element. \hypertarget{group__Sequence1_ga24d9aba91a2b29fde21b8a423aa482d5}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!min@{min}}
\index{min@{min}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{min}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} T {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::min (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Sequence1_ga24d9aba91a2b29fde21b8a423aa482d5}


Get the minimum element in the sequence. 

The sequence must contain at least one element. \hypertarget{group__Sequence1_ga22b0e4bd7d66ece8131ffc8bed724d9c}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator"!=@{operator"!=}}
\index{operator"!=@{operator"!=}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator"!=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} bool S\+P\+L\+::operator!= (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{g}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga22b0e4bd7d66ece8131ffc8bed724d9c}


Test two sequences for inequality. 

\hypertarget{group__Sequence1_ga7854430bb4860ad05f519f12793c3693}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator()@{operator()}}
\index{operator()@{operator()}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} const T \& {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::operator() (
\begin{DoxyParamCaption}
\item[{int}]{i}
\end{DoxyParamCaption}
) const}\label{group__Sequence1_ga7854430bb4860ad05f519f12793c3693}


Get the specified element in the sequence. 

Returns\+: A reference to the i-\/th element in the sequence is returned. \hypertarget{group__Sequence1_ga258748afe582ef37ad400728c63b7443}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator()@{operator()}}
\index{operator()@{operator()}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} T \& {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::operator() (
\begin{DoxyParamCaption}
\item[{int}]{i}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga258748afe582ef37ad400728c63b7443}


Get the specified element in the sequence. 

Returns\+: A reference to the i-\/th element in the sequence is returned. \hypertarget{group__Sequence1_ga159da7e2aad3628d61f78b95bf0a1f3b}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$T$>$ S\+P\+L\+::operator$\ast$ (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{g}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga159da7e2aad3628d61f78b95bf0a1f3b}


Compute the (element-\/wise) product of two sequences. 

Returns\+: The element-\/wise product of the sequences f and g is returned. Both sequences must have the same domain. \hypertarget{group__Sequence1_ga2d509569f70067618a7271a3e9899590}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$T$>$ S\+P\+L\+::operator$\ast$ (
\begin{DoxyParamCaption}
\item[{const T \&}]{a, }
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga2d509569f70067618a7271a3e9899590}


Compute a scalar multiple of a sequence. 

Returns\+: The sequence f multiplied by the value a is returned. \hypertarget{group__Sequence1_gad6d431511255663c36d0b6b6c54c460b}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$T$>$ S\+P\+L\+::operator$\ast$ (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{const T \&}]{a}
\end{DoxyParamCaption}
)}\label{group__Sequence1_gad6d431511255663c36d0b6b6c54c460b}


Compute a scalar multiple of a sequence. 

Returns\+: The sequence f multiplied by the value a is returned. \hypertarget{group__Sequence1_ga0dd12ad34a95b7391bb4d24af60cf24d}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator$\ast$=@{operator$\ast$=}}
\index{operator$\ast$=@{operator$\ast$=}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator$\ast$=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \& {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::operator$\ast$= (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga0dd12ad34a95b7391bb4d24af60cf24d}


Multiply elementwise this sequence by another one. 

Effects\+: This sequence is multiplied (element-\/wise) by the sequence f. Both sequences must have the same domain. \hypertarget{group__Sequence1_ga5291149b693d4ef9b97cbccb154949dd}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator$\ast$=@{operator$\ast$=}}
\index{operator$\ast$=@{operator$\ast$=}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator$\ast$=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \& {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::operator$\ast$= (
\begin{DoxyParamCaption}
\item[{const T \&}]{value}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga5291149b693d4ef9b97cbccb154949dd}


Multiply each element of this sequence by the specified value. 

Effects\+: This sequence is multiplied by the element value value. \hypertarget{group__Sequence1_gaa7b1953ffd3d6473ad75c8b67babc580}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator+@{operator+}}
\index{operator+@{operator+}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator+}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$T$>$ S\+P\+L\+::operator+ (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{g}
\end{DoxyParamCaption}
)}\label{group__Sequence1_gaa7b1953ffd3d6473ad75c8b67babc580}


Compute the sum of two sequences. 

Returns\+: The sum of the sequences f and g is returned. Both sequences must have the same domain. \hypertarget{group__Sequence1_ga32478b087b8c3a1ddd61482ed96b279f}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator+@{operator+}}
\index{operator+@{operator+}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator+}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$T$>$ S\+P\+L\+::operator+ (
\begin{DoxyParamCaption}
\item[{const T \&}]{a, }
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga32478b087b8c3a1ddd61482ed96b279f}


Add a value to a sequence. 

Returns\+: The sequence f with a added to each of its elements is returned. \hypertarget{group__Sequence1_ga73deeb76f4438dd1ee81152712b47645}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator+@{operator+}}
\index{operator+@{operator+}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator+}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$T$>$ S\+P\+L\+::operator+ (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{const T \&}]{a}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga73deeb76f4438dd1ee81152712b47645}


Add a value to a sequence. 

Returns\+: The sequence f with a added to each of its elements is returned. \hypertarget{group__Sequence1_ga9048e80486a67d48e6e03184e68d00c6}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator+=@{operator+=}}
\index{operator+=@{operator+=}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator+=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \& {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::operator+= (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga9048e80486a67d48e6e03184e68d00c6}


Add another sequence to this one. 

Effects\+: The sequence f is added to this sequence. Both sequences must have the same domain. \hypertarget{group__Sequence1_gab9041794a014d308ca27fc57d17c9aaa}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator+=@{operator+=}}
\index{operator+=@{operator+=}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator+=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \& {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::operator+= (
\begin{DoxyParamCaption}
\item[{const T \&}]{value}
\end{DoxyParamCaption}
)}\label{group__Sequence1_gab9041794a014d308ca27fc57d17c9aaa}


Add a value to each element of this sequence. 

Effects\+: The value value is added to each element of the sequence. \hypertarget{group__Sequence1_ga8b65262f68af3fca242d49f01566faf7}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator-\/}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$T$>$ S\+P\+L\+::operator-\/ (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{g}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga8b65262f68af3fca242d49f01566faf7}


Compute the difference of two sequences. 

Returns\+: The difference between the sequence f and sequence g (i.\+e., f -\/ g) is returned. Both sequences must have the same domain. \hypertarget{group__Sequence1_gacb98697ef1c5f284940e145422dc8c25}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator-\/}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$T$>$ S\+P\+L\+::operator-\/ (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{const T \&}]{a}
\end{DoxyParamCaption}
)}\label{group__Sequence1_gacb98697ef1c5f284940e145422dc8c25}


Subtract a value from a sequence. 

Returns\+: The sequence f with a subtracted from each of its elements is returned. \hypertarget{group__Sequence1_ga8896fcd5a23941ffe6f82f29ce696f20}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator-\/=@{operator-\/=}}
\index{operator-\/=@{operator-\/=}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator-\/=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \& {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::operator-\/= (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga8896fcd5a23941ffe6f82f29ce696f20}


Subtract another sequence from this one. 

Effects\+: The sequence f is subtracted from this sequence. Both sequences must have the same domain. \hypertarget{group__Sequence1_ga589984c8ccca548be00d44f776ac985f}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator-\/=@{operator-\/=}}
\index{operator-\/=@{operator-\/=}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator-\/=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \& {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::operator-\/= (
\begin{DoxyParamCaption}
\item[{const T \&}]{value}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga589984c8ccca548be00d44f776ac985f}


Subtract a value from each element of this sequence. 

Effects\+: The value value is subtracted from each element of the sequence. \hypertarget{group__Sequence1_ga06b60abe2aac1900bddd00fe86ba747c}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator/@{operator/}}
\index{operator/@{operator/}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator/}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$T$>$ S\+P\+L\+::operator/ (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{g}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga06b60abe2aac1900bddd00fe86ba747c}


Compute the (element-\/wise) quotient of two sequences. 

Returns\+: The element-\/wise quotient of the sequences f and g is returned. Both sequences must have the same domain. \hypertarget{group__Sequence1_ga40973abce3db28e89c34baab5f91fa2d}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator/@{operator/}}
\index{operator/@{operator/}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator/}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$T$>$ S\+P\+L\+::operator/ (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{const T \&}]{a}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga40973abce3db28e89c34baab5f91fa2d}


Divide a sequence by a scalar. 

Returns\+: The sequence f divided by the value a is returned. \hypertarget{group__Sequence1_ga6f9d2a03842e2abd1c8539c5920e8a22}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator/=@{operator/=}}
\index{operator/=@{operator/=}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator/=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \& {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::operator/= (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga6f9d2a03842e2abd1c8539c5920e8a22}


Divide elementwise this sequence by another one. 

Effects\+: This sequence is divided (element-\/wise) by the sequence f. Both sequences must have the same domain. \hypertarget{group__Sequence1_gaf04030b0a17904f6d490ed531afb9ef6}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator/=@{operator/=}}
\index{operator/=@{operator/=}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator/=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \& {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::operator/= (
\begin{DoxyParamCaption}
\item[{const T \&}]{value}
\end{DoxyParamCaption}
)}\label{group__Sequence1_gaf04030b0a17904f6d490ed531afb9ef6}


Divide each element of the sequence by the given value. 

Effects\+: Each element of the sequence is divided by the value value. \hypertarget{group__Sequence1_ga244cbf41f3ecf0a8d44e0cd7d8a5969c}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator$<$$<$@{operator$<$$<$}}
\index{operator$<$$<$@{operator$<$$<$}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator$<$$<$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ std\+::ostream\& S\+P\+L\+::operator$<$$<$ (
\begin{DoxyParamCaption}
\item[{std\+::ostream \&}]{out, }
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga244cbf41f3ecf0a8d44e0cd7d8a5969c}


Output a sequence to a stream. 

Effects\+: The sequence f is written to the output stream out. The output consists of the following information in order\+: 1) the starting index of the sequence 2) the size of the sequence 3) the elements of the sequence in increasing order of index

Returns\+: A reference to the stream out is returned. \hypertarget{group__Sequence1_ga26fd22a681ea63554c22c74d0e9c19f0}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator=@{operator=}}
\index{operator=@{operator=}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \& {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga26fd22a681ea63554c22c74d0e9c19f0}


The assignment operator. 

\hypertarget{group__Sequence1_ga9eb828612692369676e67c258d288f57}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator==@{operator==}}
\index{operator==@{operator==}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator==}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} bool S\+P\+L\+::operator== (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{g}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga9eb828612692369676e67c258d288f57}


Test two sequences for equality. 

In order for two sequences to be deemed equal, they must be defined on the same domain and have their element values match everywhere in this domain. \hypertarget{group__Sequence1_ga3c0389e9ea339c6c7165405dd7a6003b}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!operator$>$$>$@{operator$>$$>$}}
\index{operator$>$$>$@{operator$>$$>$}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{operator$>$$>$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ std\+::istream\& S\+P\+L\+::operator$>$$>$ (
\begin{DoxyParamCaption}
\item[{std\+::istream \&}]{in, }
\item[{{\bf Sequence1}$<$ T $>$ \&}]{f}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga3c0389e9ea339c6c7165405dd7a6003b}


Input a sequence from a stream. 

Effects\+: The sequence f is read from the input stream in. The data is read in a format consistent with that used by operator$<$$<$.

Returns\+: A reference to the stream in is returned. \hypertarget{group__Sequence1_gacdb17b76e562cd9551f62bdfc873a8b6}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!polyphase\+Join@{polyphase\+Join}}
\index{polyphase\+Join@{polyphase\+Join}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{polyphase\+Join}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ Sequence1$<$T$>$ S\+P\+L\+::polyphase\+Join (
\begin{DoxyParamCaption}
\item[{const {\bf Array1}$<$ {\bf Sequence1}$<$ T $>$ $>$ \&}]{comps, }
\item[{int}]{type}
\end{DoxyParamCaption}
)}\label{group__Sequence1_gacdb17b76e562cd9551f62bdfc873a8b6}


Reassemble a sequence from its polyphase components. 

Effects\+: A sequence is recomposed from its polyphase components comps. A polyphase decomposition of type type is assumed.

Returns\+: The recomposed sequence is returned. \hypertarget{group__Sequence1_ga34f426df7de61a393a4dd1e000014402}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!polyphase\+Split@{polyphase\+Split}}
\index{polyphase\+Split@{polyphase\+Split}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{polyphase\+Split}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ Array1$<$Sequence1$<$T$>$ $>$ S\+P\+L\+::polyphase\+Split (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{seq, }
\item[{int}]{type, }
\item[{int}]{num\+Phases}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga34f426df7de61a393a4dd1e000014402}


Split a sequence into its polyphase components. 

Effects\+: The polyphase decomposition of the sequence seq is computed. In particular, the polyphase decomposition with num\+Phases phases and type type is computed.

Returns\+: An array containing the polyphase components is returned. \hypertarget{group__Sequence1_ga877aa1b289aeecb6fa28ba2ed800a63c}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!Sequence1@{Sequence1}}
\index{Sequence1@{Sequence1}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{Sequence1}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::Sequence1 (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga877aa1b289aeecb6fa28ba2ed800a63c}


The default constructor. 

\hypertarget{group__Sequence1_gaac3b39c8c2caaa61f2a6ec425a985a1c}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!Sequence1@{Sequence1}}
\index{Sequence1@{Sequence1}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{Sequence1}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::Sequence1 (
\begin{DoxyParamCaption}
\item[{int}]{start\+Ind, }
\item[{int}]{size}
\end{DoxyParamCaption}
)}\label{group__Sequence1_gaac3b39c8c2caaa61f2a6ec425a985a1c}


Construct a sequence with the specified start index and size. 

Effects\+: A sequence with a starting index of start\+Ind and size size is created. The elements in the sequence are default constructed! \hypertarget{group__Sequence1_ga2af5d425dc90f7fbc2d25077af98abec}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!Sequence1@{Sequence1}}
\index{Sequence1@{Sequence1}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{Sequence1}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::Sequence1 (
\begin{DoxyParamCaption}
\item[{int}]{start\+Ind, }
\item[{int}]{size, }
\item[{const T \&}]{value}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga2af5d425dc90f7fbc2d25077af98abec}


Construct a sequence with the specified start index and size, with all elements set to the given value. 

Effects\+: A sequence with a starting index of start\+Ind and size size is created, with all elements initialized to the value value. \hypertarget{group__Sequence1_ga32be4412f26e6625b81ff826d4a65209}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!Sequence1@{Sequence1}}
\index{Sequence1@{Sequence1}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{Sequence1}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::Sequence1 (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga32be4412f26e6625b81ff826d4a65209}


The copy constructor. 

\hypertarget{group__Sequence1_ga431aa354561dce233f7c414f7700932e}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!Sequence1@{Sequence1}}
\index{Sequence1@{Sequence1}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{Sequence1}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::Sequence1 (
\begin{DoxyParamCaption}
\item[{const {\bf Array1}$<$ T $>$ \&}]{data}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga431aa354561dce233f7c414f7700932e}


Create a sequence from an array. 

\hypertarget{group__Sequence1_ga3ab63d27aef18859073f2ad5bb33193e}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!Sequence1@{Sequence1}}
\index{Sequence1@{Sequence1}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{Sequence1}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::Sequence1 (
\begin{DoxyParamCaption}
\item[{int}]{start\+Ind, }
\item[{const {\bf Array1}$<$ T $>$ \&}]{data}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga3ab63d27aef18859073f2ad5bb33193e}


Create a sequence from an array using the given starting index. 

\hypertarget{group__Sequence1_ga2ea81846f6c0320b879e50609ccffb61}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!subsequence@{subsequence}}
\index{subsequence@{subsequence}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{subsequence}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ Sequence1$<$T$>$ S\+P\+L\+::subsequence (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{int}]{start\+Ind, }
\item[{int}]{size}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga2ea81846f6c0320b879e50609ccffb61}


Extract a subsequence from a sequence. 

Effects\+: The subsequence with start index start\+Ind and size size is extracted from the sequence f.

Returns\+: The extracted subsequence is returned. \hypertarget{group__Sequence1_gabd2efa6deb2c13ee4bea7fabecb47585}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!sum@{sum}}
\index{sum@{sum}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{sum}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} T {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::sum (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Sequence1_gabd2efa6deb2c13ee4bea7fabecb47585}


Get the sum of the elements in the sequence. 

\hypertarget{group__Sequence1_ga2acd6022bb336135e04f8cc8b21dad3b}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!swap\+Array@{swap\+Array}}
\index{swap\+Array@{swap\+Array}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{swap\+Array}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} void {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::swap\+Array (
\begin{DoxyParamCaption}
\item[{{\bf Array1}$<$ T $>$ \&}]{data}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga2acd6022bb336135e04f8cc8b21dad3b}


Swap the data for the underlying array and the specified array. 

\hypertarget{group__Sequence1_ga2ddb39ff6c0e8f1f53b47ba4f9f200e5}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!translate@{translate}}
\index{translate@{translate}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{translate}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$ T $>$ \& {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::translate (
\begin{DoxyParamCaption}
\item[{int}]{delta}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga2ddb39ff6c0e8f1f53b47ba4f9f200e5}


Translate (i.\+e., shift) a sequence by the specified displacement. 

\hypertarget{group__Sequence1_ga2d5b936462997eed9f860e812ee8431b}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!translate@{translate}}
\index{translate@{translate}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{translate}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} Sequence1$<$T$>$ S\+P\+L\+::translate (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{int}]{delta}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga2d5b936462997eed9f860e812ee8431b}


Translate a sequence by the specified amount. 

Effects\+: The sequence f is translated (i.\+e., time shifted) by i. For example, if the sequence f is defined on the domain a, a+1, ..., b, then the translated sequence will be defined on the domain a+i, a+i+1, ..., b+i.

Returns\+: The translated sequence is returned. \hypertarget{group__Sequence1_ga162d7f981e031faf4ef630974010727d}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!upsample@{upsample}}
\index{upsample@{upsample}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{upsample}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ Sequence1$<$T$>$ S\+P\+L\+::upsample (
\begin{DoxyParamCaption}
\item[{const {\bf Sequence1}$<$ T $>$ \&}]{f, }
\item[{int}]{factor, }
\item[{int}]{pad = {\ttfamily 0}}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga162d7f981e031faf4ef630974010727d}


Upsample a sequence by the specified factor. 

Effects\+: The sequence f is upsampled by the factor factor. If pad is zero, new samples will only be added between the first and last sample. Up to (factor -\/ 1) extra new samples can be added at the end of the new sequence, by specifying a nonzero value for pad. The default is no padding.

Returns\+: The upsampled sequence is returned. \hypertarget{group__Sequence1_ga8c39adc17bf58f33c158fffa1128991a}{}\index{One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}!````~Sequence1@{$\sim$\+Sequence1}}
\index{````~Sequence1@{$\sim$\+Sequence1}!One-\/\+Dimensional Sequences@{One-\/\+Dimensional Sequences}}
\subsubsection[{$\sim$\+Sequence1}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf S\+P\+L\+\_\+\+S\+E\+Q\+U\+E\+N\+C\+E1\+\_\+\+I\+N\+L\+I\+N\+E} {\bf S\+P\+L\+::\+Sequence1}$<$ T $>$\+::$\sim$Sequence1 (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{group__Sequence1_ga8c39adc17bf58f33c158fffa1128991a}


The destructor. 

