[8] | 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 |
---|
[19] | 20 | int {\bf count} ()\label{classRV_9dcaca7b87cfb0e24a19260067d62f04} |
---|
[8] | 21 | |
---|
| 22 | \begin{CompactList}\small\item\em Return length (number of scalars) of the \doxyref{RV}{p.}{classRV}. \item\end{CompactList}\item |
---|
[19] | 23 | ivec {\bf find} ({\bf RV} rv2)\label{classRV_6b078b1086224aca3a9e5a203e647fb6} |
---|
[8] | 24 | |
---|
| 25 | \begin{CompactList}\small\item\em Find indexes of another rv in self. \item\end{CompactList}\item |
---|
[19] | 26 | {\bf RV} {\bf add} ({\bf RV} rv2)\label{classRV_f068a86abb5a6e46fcf76c939d2ed2ec} |
---|
[8] | 27 | |
---|
| 28 | \begin{CompactList}\small\item\em Add (concat) another variable to the current one. \item\end{CompactList}\item |
---|
[19] | 29 | {\bf RV} {\bf subt} ({\bf RV} rv2)\label{classRV_4c5ec5e913fc598e242cb930ae8bdf4a} |
---|
[8] | 30 | |
---|
| 31 | \begin{CompactList}\small\item\em Subtract another variable from the current one. \item\end{CompactList}\item |
---|
[19] | 32 | {\bf RV} {\bf subselect} (ivec ind)\label{classRV_2bf35b18a32aad419f0516273939628e} |
---|
[8] | 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}\end{CompactItemize} |
---|
| 41 | \subsection*{Friends} |
---|
| 42 | \begin{CompactItemize} |
---|
| 43 | \item |
---|
| 44 | std::ostream \& {\bf operator$<$$<$} (std::ostream \&os, const {\bf RV} \&rv)\label{classRV_cad6f15535d10437f6690cb4492176a8} |
---|
| 45 | |
---|
| 46 | \begin{CompactList}\small\item\em Printing output e.g. for debugging. \item\end{CompactList}\end{CompactItemize} |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | \subsection{Detailed Description} |
---|
| 50 | Class representing variables, most often random variables. |
---|
| 51 | |
---|
| 52 | More?... |
---|
| 53 | |
---|
| 54 | The documentation for this class was generated from the following files:\begin{CompactItemize} |
---|
| 55 | \item |
---|
[19] | 56 | work/mixpp/bdm/stat/{\bf libBM.h}\item |
---|
| 57 | work/mixpp/bdm/stat/libBM.cpp\end{CompactItemize} |
---|