1 | \section{RV Class Reference} |
---|
2 | \label{classRV}\index{RV@{RV}} |
---|
3 | Class representing variables, most often random variables. |
---|
4 | |
---|
5 | |
---|
6 | {\tt \#include $<$libBM.h$>$} |
---|
7 | |
---|
8 | \subsection*{Public Member Functions} |
---|
9 | \begin{CompactItemize} |
---|
10 | \item |
---|
11 | {\bf RV} (ivec in\_\-ids, Array$<$ std::string $>$ in\_\-names, ivec in\_\-sizes, ivec in\_\-times, ivec in\_\-obs)\label{classRV_e46882dec2c30b12be282d34b03417b2} |
---|
12 | |
---|
13 | \begin{CompactList}\small\item\em Full constructor which is called by the others. \item\end{CompactList}\item |
---|
14 | {\bf RV} (ivec ids)\label{classRV_cf911c3900214460ade1366b04058462} |
---|
15 | |
---|
16 | \begin{CompactList}\small\item\em default constructor \item\end{CompactList}\item |
---|
17 | {\bf RV} ()\label{classRV_6a22f5c06d6403870d4e414b1993bf9e} |
---|
18 | |
---|
19 | \begin{CompactList}\small\item\em Empty constructor will be set later. \item\end{CompactList}\item |
---|
20 | int {\bf count} () const \label{classRV_f5c7b8bd589eef09ccdf3329a0addea0} |
---|
21 | |
---|
22 | \begin{CompactList}\small\item\em Return length (number of scalars) of the \doxyref{RV}{p.}{classRV}. \item\end{CompactList}\item |
---|
23 | ivec {\bf find} ({\bf RV} rv2)\label{classRV_6b078b1086224aca3a9e5a203e647fb6} |
---|
24 | |
---|
25 | \begin{CompactList}\small\item\em Find indexes of another rv in self. \item\end{CompactList}\item |
---|
26 | {\bf RV} {\bf add} ({\bf RV} rv2)\label{classRV_f068a86abb5a6e46fcf76c939d2ed2ec} |
---|
27 | |
---|
28 | \begin{CompactList}\small\item\em Add (concat) another variable to the current one. \item\end{CompactList}\item |
---|
29 | {\bf RV} {\bf subt} ({\bf RV} rv2)\label{classRV_4c5ec5e913fc598e242cb930ae8bdf4a} |
---|
30 | |
---|
31 | \begin{CompactList}\small\item\em Subtract another variable from the current one. \item\end{CompactList}\item |
---|
32 | {\bf RV} {\bf subselect} (ivec ind)\label{classRV_2bf35b18a32aad419f0516273939628e} |
---|
33 | |
---|
34 | \begin{CompactList}\small\item\em Select only variables at indeces ind. \item\end{CompactList}\item |
---|
35 | {\bf RV} {\bf operator()} (ivec ind)\label{classRV_28bbcb8873bafdac317bafb7b481cc45} |
---|
36 | |
---|
37 | \begin{CompactList}\small\item\em Select only variables at indeces ind. \item\end{CompactList}\item |
---|
38 | void {\bf t} (int delta)\label{classRV_e0a158d53ab9430627241f844f4c9a60} |
---|
39 | |
---|
40 | \begin{CompactList}\small\item\em Generate new {\tt \doxyref{RV}{p.}{classRV}} with {\tt time} shifted by delta. \item\end{CompactList}\item |
---|
41 | ivec {\bf indexlist} ()\label{classRV_8470cf53be6e7bdba78ad0efbd203ee7} |
---|
42 | |
---|
43 | \begin{CompactList}\small\item\em generate a list of indeces, i.e. which \item\end{CompactList}\end{CompactItemize} |
---|
44 | \subsection*{Friends} |
---|
45 | \begin{CompactItemize} |
---|
46 | \item |
---|
47 | std::ostream \& {\bf operator$<$$<$} (std::ostream \&os, const {\bf RV} \&rv)\label{classRV_cad6f15535d10437f6690cb4492176a8} |
---|
48 | |
---|
49 | \begin{CompactList}\small\item\em Printing output e.g. for debugging. \item\end{CompactList}\end{CompactItemize} |
---|
50 | |
---|
51 | |
---|
52 | \subsection{Detailed Description} |
---|
53 | Class representing variables, most often random variables. |
---|
54 | |
---|
55 | More?... |
---|
56 | |
---|
57 | The documentation for this class was generated from the following files:\begin{CompactItemize} |
---|
58 | \item |
---|
59 | work/mixpp/bdm/stat/{\bf libBM.h}\item |
---|
60 | work/mixpp/bdm/stat/libBM.cpp\end{CompactItemize} |
---|