Changeset 33 for doc/latex/classenorm.tex
- Timestamp:
- 03/05/08 16:01:56 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/latex/classenorm.tex
r32 r33 23 23 \begin{CompactItemize} 24 24 \item 25 \textbf{enorm} ({\bf RV} \&rv)\label{classenorm_7b5cb487a2570e8109bfdc0df149aa06}25 {\bf enorm} ({\bf RV} \&{\bf rv})\label{classenorm_7b5cb487a2570e8109bfdc0df149aa06} 26 26 27 \ item28 void \textbf{set\_\-parameters} (const vec \&{\bf mu}, const sq\_\-T \&{\bf R})\label{classenorm_1394a65caa6e00d42e00cc99b12227af}27 \begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 28 void {\bf set\_\-parameters} (const vec \&{\bf mu}, const sq\_\-T \&{\bf R})\label{classenorm_1394a65caa6e00d42e00cc99b12227af} 29 29 30 \ item30 \begin{CompactList}\small\item\em Set mean value {\tt mu} and covariance {\tt R}. \item\end{CompactList}\item 31 31 void {\bf tupdate} (double phi, mat \&vbar, double nubar)\label{classenorm_5b5fd142b6b17ea334597960e3fe126a} 32 32 33 33 \begin{CompactList}\small\item\em tupdate in exponential form (not really handy) \item\end{CompactList}\item 34 void \textbf{dupdate} (mat \&v, double nu=1.0)\label{classenorm_5bf185e31e5954fceb90ada3debd2ff2}34 void {\bf dupdate} (mat \&v, double nu=1.0)\label{classenorm_5bf185e31e5954fceb90ada3debd2ff2} 35 35 36 \ item37 vec {\bf sample} () 36 \begin{CompactList}\small\item\em dupdate in exponential form (not really handy) \item\end{CompactList}\item 37 vec {\bf sample} () const 38 38 \begin{CompactList}\small\item\em Returns the required moment of the \doxyref{epdf}{p.}{classepdf}. \item\end{CompactList}\item 39 mat \textbf{sample} (int N)\label{classenorm_531bd094057afa768f4853a7e441920d}39 mat {\bf sample} (int N) const \label{classenorm_60f0f3bfa53d6e65843eea9532b16d36} 40 40 41 \ item42 double {\bf eval} (const vec \&val) \label{classenorm_93107f05a8e9b34b64853767200121a4}41 \begin{CompactList}\small\item\em TODO is it used? \item\end{CompactList}\item 42 double {\bf eval} (const vec \&val) const \label{classenorm_b9e1dfd33692d7b3f1a59f17b0e61bd0} 43 43 44 44 \begin{CompactList}\small\item\em Compute probability of argument {\tt val}. \item\end{CompactList}\item 45 double {\bf evalpdflog} (const vec \&val) \label{classenorm_9517594915e897584eaebbb057ed8881}45 double {\bf evalpdflog} (const vec \&val) const \label{classenorm_609a7c33dbb4fdfab050f3bdd1122401} 46 46 47 47 \begin{CompactList}\small\item\em Compute log-probability of argument {\tt val}. \item\end{CompactList}\item 48 vec {\bf mean} () \label{classenorm_191c1220c3ddd0c5f54e78f19b57ebd5}48 vec {\bf mean} () const \label{classenorm_50fa84da7bae02f7af17a98f37566899} 49 49 50 50 \begin{CompactList}\small\item\em return expected value \item\end{CompactList}\item … … 57 57 void {\bf \_\-cached} (bool what)\label{classenorm_c9ca4f2ca42568e40ca146168e7f3247} 58 58 59 \begin{CompactList}\small\item\em set cache as inconsistent \item\end{CompactList}\end{CompactItemize} 59 \begin{CompactList}\small\item\em set cache as inconsistent \item\end{CompactList}\item 60 {\bf RV} {\bf \_\-rv} () const \label{classepdf_b89143f12c9b49282e30841e4fb5f337} 61 62 \begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize} 60 63 \subsection*{Protected Attributes} 61 64 \begin{CompactItemize} … … 76 79 77 80 \begin{CompactList}\small\item\em dimension (redundant from rv.count() for easier coding ) \item\end{CompactList}\item 78 {\bf RV} \textbf{rv}\label{classepdf_74da992e3f5d598da8850b646b79b9d9}81 {\bf RV} {\bf rv}\label{classepdf_74da992e3f5d598da8850b646b79b9d9} 79 82 80 \ end{CompactItemize}83 \begin{CompactList}\small\item\em Identified of the random variable. \item\end{CompactList}\end{CompactItemize} 81 84 82 85 … … 91 94 \index{enorm@{enorm}!sample@{sample}} 92 95 \index{sample@{sample}!enorm@{enorm}} 93 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class sq\_\-T$>$ vec {\bf enorm}$<$ sq\_\-T $>$::sample () \hspace{0.3cm}{\tt [inline, virtual]}}\label{classenorm_6020bcd89db2c9584bd8871001bd2023}96 \subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class sq\_\-T$>$ vec {\bf enorm}$<$ sq\_\-T $>$::sample () const\hspace{0.3cm}{\tt [inline, virtual]}}\label{classenorm_60b47544f6181ffd4530d3e415ce12c5} 94 97 95 98 … … 98 101 Returns a sample from the density, $x \sim epdf(rv)$ 99 102 100 Implements {\bf epdf} \doxyref{}{p.}{classepdf_ 7f74d871d50b9ff360f1b3879092a9fa}.103 Implements {\bf epdf} \doxyref{}{p.}{classepdf_8019654e494bf5e458f6fb947e11b262}. 101 104 102 105 The documentation for this class was generated from the following file:\begin{CompactItemize}