root/doc/latex/classRV.tex @ 81

Revision 79, 4.3 kB (checked in by smidl, 16 years ago)

oprava dokumentace

  • Property svn:eol-style set to native
Line 
1\section{RV Class Reference}
2\label{classRV}\index{RV@{RV}}
3Class 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)\label{classRV_e032d2e90e5b6e156d15f137caca940f}
12
13\begin{CompactList}\small\item\em Full constructor which is called by the others. \item\end{CompactList}\item 
14{\bf RV} (ivec {\bf 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 
20int {\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 
23ivec {\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 
26void {\bf add} (const {\bf RV} \&rv2)\label{classRV_4fc941a5ebc9f82aa372f54f2e02dab2}
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 
38void {\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 
41ivec {\bf indexlist} ()\label{classRV_8470cf53be6e7bdba78ad0efbd203ee7}
42
43\begin{CompactList}\small\item\em generate a list of indeces, i.e. which \item\end{CompactList}\item 
44Array$<$ std::string $>$ \& {\bf \_\-names} ()\label{classRV_b88ef5124713c9e30fd9446846b3f044}
45
46\begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize}
47\subsection*{Protected Attributes}
48\begin{CompactItemize}
49\item 
50int {\bf size}\label{classRV_0cae53d262be90a775a99a198e17fa58}
51
52\begin{CompactList}\small\item\em size = sum of sizes \item\end{CompactList}\item 
53int {\bf len}\label{classRV_0d7b36e2bbccf880c8fcf1e8cc43c1a9}
54
55\begin{CompactList}\small\item\em len = number of individual rvs \item\end{CompactList}\item 
56ivec {\bf ids}\label{classRV_1bd7165140f4b880a7f344bbb1c433f9}
57
58\begin{CompactList}\small\item\em Vector of unique IDs. \item\end{CompactList}\item 
59ivec {\bf sizes}\label{classRV_c878aab13f34b420e1eb5b485563682b}
60
61\begin{CompactList}\small\item\em Vector of sizes. \item\end{CompactList}\item 
62ivec {\bf times}\label{classRV_646e530c47a2dd38254b778d9f11ac89}
63
64\begin{CompactList}\small\item\em Vector of shifts from current time. \item\end{CompactList}\item 
65Array$<$ std::string $>$ {\bf names}\label{classRV_df5d0030b277a1db2f1fd5fb79152acb}
66
67\begin{CompactList}\small\item\em Array of names. \item\end{CompactList}\end{CompactItemize}
68\subsection*{Friends}
69\begin{CompactItemize}
70\item 
71std::ostream \& {\bf operator$<$$<$} (std::ostream \&os, const {\bf RV} \&rv)\label{classRV_cad6f15535d10437f6690cb4492176a8}
72
73\begin{CompactList}\small\item\em Printing output e.g. for debugging. \item\end{CompactList}\item 
74{\bf RV} {\bf concat} (const {\bf RV} \&rv1, const {\bf RV} \&rv2)\label{classRV_33c114e83980d883c5b211c47d5322a4}
75
76\begin{CompactList}\small\item\em Add (concat) another variable to the current one. \item\end{CompactList}\end{CompactItemize}
77
78
79\subsection{Detailed Description}
80Class representing variables, most often random variables.
81
82More?...
83
84The documentation for this class was generated from the following files:\begin{CompactItemize}
85\item 
86work/mixpp/bdm/stat/{\bf libBM.h}\item 
87work/mixpp/bdm/stat/libBM.cpp\end{CompactItemize}
Note: See TracBrowser for help on using the browser.