\section{RV Class Reference} \label{classRV}\index{RV@{RV}} Class representing variables, most often random variables. {\tt \#include $<$libBM.h$>$} \subsection*{Public Member Functions} \begin{CompactItemize} \item {\bf RV} (ivec in\_\-ids, Array$<$ std::string $>$ in\_\-names, ivec in\_\-sizes, ivec in\_\-times)\label{classRV_e032d2e90e5b6e156d15f137caca940f} \begin{CompactList}\small\item\em Full constructor which is called by the others. \item\end{CompactList}\item {\bf RV} (ivec {\bf ids})\label{classRV_cf911c3900214460ade1366b04058462} \begin{CompactList}\small\item\em default constructor \item\end{CompactList}\item {\bf RV} ()\label{classRV_6a22f5c06d6403870d4e414b1993bf9e} \begin{CompactList}\small\item\em Empty constructor will be set later. \item\end{CompactList}\item int {\bf count} () const \label{classRV_f5c7b8bd589eef09ccdf3329a0addea0} \begin{CompactList}\small\item\em Return length (number of scalars) of the \doxyref{RV}{p.}{classRV}. \item\end{CompactList}\item ivec {\bf find} ({\bf RV} rv2)\label{classRV_6b078b1086224aca3a9e5a203e647fb6} \begin{CompactList}\small\item\em Find indexes of another rv in self. \item\end{CompactList}\item void {\bf add} (const {\bf RV} \&rv2)\label{classRV_4fc941a5ebc9f82aa372f54f2e02dab2} \begin{CompactList}\small\item\em Add (concat) another variable to the current one. \item\end{CompactList}\item {\bf RV} {\bf subt} ({\bf RV} rv2)\label{classRV_4c5ec5e913fc598e242cb930ae8bdf4a} \begin{CompactList}\small\item\em Subtract another variable from the current one. \item\end{CompactList}\item {\bf RV} {\bf subselect} (ivec ind)\label{classRV_2bf35b18a32aad419f0516273939628e} \begin{CompactList}\small\item\em Select only variables at indeces ind. \item\end{CompactList}\item {\bf RV} {\bf operator()} (ivec ind)\label{classRV_28bbcb8873bafdac317bafb7b481cc45} \begin{CompactList}\small\item\em Select only variables at indeces ind. \item\end{CompactList}\item void {\bf t} (int delta)\label{classRV_e0a158d53ab9430627241f844f4c9a60} \begin{CompactList}\small\item\em Generate new {\tt \doxyref{RV}{p.}{classRV}} with {\tt time} shifted by delta. \item\end{CompactList}\item ivec {\bf indexlist} ()\label{classRV_8470cf53be6e7bdba78ad0efbd203ee7} \begin{CompactList}\small\item\em generate a list of indeces, i.e. which \item\end{CompactList}\item Array$<$ std::string $>$ \& {\bf \_\-names} ()\label{classRV_b88ef5124713c9e30fd9446846b3f044} \begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize} \subsection*{Protected Attributes} \begin{CompactItemize} \item int {\bf size}\label{classRV_0cae53d262be90a775a99a198e17fa58} \begin{CompactList}\small\item\em size = sum of sizes \item\end{CompactList}\item int {\bf len}\label{classRV_0d7b36e2bbccf880c8fcf1e8cc43c1a9} \begin{CompactList}\small\item\em len = number of individual rvs \item\end{CompactList}\item ivec {\bf ids}\label{classRV_1bd7165140f4b880a7f344bbb1c433f9} \begin{CompactList}\small\item\em Vector of unique IDs. \item\end{CompactList}\item ivec {\bf sizes}\label{classRV_c878aab13f34b420e1eb5b485563682b} \begin{CompactList}\small\item\em Vector of sizes. \item\end{CompactList}\item ivec {\bf times}\label{classRV_646e530c47a2dd38254b778d9f11ac89} \begin{CompactList}\small\item\em Vector of shifts from current time. \item\end{CompactList}\item Array$<$ std::string $>$ {\bf names}\label{classRV_df5d0030b277a1db2f1fd5fb79152acb} \begin{CompactList}\small\item\em Array of names. \item\end{CompactList}\end{CompactItemize} \subsection*{Friends} \begin{CompactItemize} \item std::ostream \& {\bf operator$<$$<$} (std::ostream \&os, const {\bf RV} \&rv)\label{classRV_cad6f15535d10437f6690cb4492176a8} \begin{CompactList}\small\item\em Printing output e.g. for debugging. \item\end{CompactList}\item {\bf RV} {\bf concat} (const {\bf RV} \&rv1, const {\bf RV} \&rv2)\label{classRV_33c114e83980d883c5b211c47d5322a4} \begin{CompactList}\small\item\em Add (concat) another variable to the current one. \item\end{CompactList}\end{CompactItemize} \subsection{Detailed Description} Class representing variables, most often random variables. More?... The documentation for this class was generated from the following files:\begin{CompactItemize} \item work/mixpp/bdm/stat/{\bf libBM.h}\item work/mixpp/bdm/stat/libBM.cpp\end{CompactItemize}