Changeset 172 for doc/latex/classsqmat.tex
- Timestamp:
- 09/24/08 13:31:03 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/latex/classsqmat.tex
r145 r172 1 \hypertarget{classsqmat}{ 1 2 \section{sqmat Class Reference} 2 3 \label{classsqmat}\index{sqmat@{sqmat}} 4 } 3 5 Virtual class for representation of double symmetric matrices in square-root form. 4 6 … … 16 18 \begin{CompactItemize} 17 19 \item 18 virtual void {\bfopupdt} (const vec \&v, double w)=020 virtual void \hyperlink{classsqmat_b223484796661f2dadb5607a86ce0581}{opupdt} (const vec \&v, double w)=0 19 21 \item 20 virtual mat {\bf to\_\-mat} ()=0\label{classsqmat_9a5b6fddfeb42339e1dc9b978a2590fc} 22 \hypertarget{classsqmat_cd0ea3701e4493f353499755fba6e07f}{ 23 virtual mat \hyperlink{classsqmat_cd0ea3701e4493f353499755fba6e07f}{to\_\-mat} () const =0} 24 \label{classsqmat_cd0ea3701e4493f353499755fba6e07f} 21 25 22 26 \begin{CompactList}\small\item\em Conversion to full matrix. \item\end{CompactList}\item 23 virtual void {\bfmult\_\-sym} (const mat \&C)=027 virtual void \hyperlink{classsqmat_60fbbfa9e483b8187c135f787ee53afa}{mult\_\-sym} (const mat \&C)=0 24 28 \begin{CompactList}\small\item\em Inplace symmetric multiplication by a SQUARE matrix $C$, i.e. $V = C*V*C'$. \item\end{CompactList}\item 25 virtual void {\bfmult\_\-sym\_\-t} (const mat \&C)=029 virtual void \hyperlink{classsqmat_6909e906da17725b1b80f3cae7cf3325}{mult\_\-sym\_\-t} (const mat \&C)=0 26 30 \begin{CompactList}\small\item\em Inplace symmetric multiplication by a SQUARE transpose of matrix $C$, i.e. $V = C'*V*C$. \item\end{CompactList}\item 27 virtual double {\bf logdet} () const =0\label{classsqmat_0a772b396750eeeed85d69fa72478b45} 31 \hypertarget{classsqmat_0a772b396750eeeed85d69fa72478b45}{ 32 virtual double \hyperlink{classsqmat_0a772b396750eeeed85d69fa72478b45}{logdet} () const =0} 33 \label{classsqmat_0a772b396750eeeed85d69fa72478b45} 28 34 29 35 \begin{CompactList}\small\item\em Logarithm of a determinant. \item\end{CompactList}\item 30 virtual vec {\bfsqrt\_\-mult} (const vec \&v) const =036 virtual vec \hyperlink{classsqmat_6b79438b5d7544a9c8e110a145355d8f}{sqrt\_\-mult} (const vec \&v) const =0 31 37 \begin{CompactList}\small\item\em Multiplies square root of $V$ by vector $x$. \item\end{CompactList}\item 32 virtual double {\bf qform} (const vec \&v) const =0\label{classsqmat_fc026312eb02ba09f85d5aacd6f05ab3} 38 \hypertarget{classsqmat_fc026312eb02ba09f85d5aacd6f05ab3}{ 39 virtual double \hyperlink{classsqmat_fc026312eb02ba09f85d5aacd6f05ab3}{qform} (const vec \&v) const =0} 40 \label{classsqmat_fc026312eb02ba09f85d5aacd6f05ab3} 33 41 34 42 \begin{CompactList}\small\item\em Evaluates quadratic form $x= v'*V*v$;. \item\end{CompactList}\item 35 virtual double {\bf invqform} (const vec \&v) const =0\label{classsqmat_6230e8e8a9341866aaa0ce008691aac2} 43 \hypertarget{classsqmat_6230e8e8a9341866aaa0ce008691aac2}{ 44 virtual double \hyperlink{classsqmat_6230e8e8a9341866aaa0ce008691aac2}{invqform} (const vec \&v) const =0} 45 \label{classsqmat_6230e8e8a9341866aaa0ce008691aac2} 36 46 37 47 \begin{CompactList}\small\item\em Evaluates quadratic form $x= v'*inv(V)*v$;. \item\end{CompactList}\item 38 virtual void {\bf clear} ()=0\label{classsqmat_6fca246f9eabbdeb8cac03030e826b5e} 48 \hypertarget{classsqmat_6fca246f9eabbdeb8cac03030e826b5e}{ 49 virtual void \hyperlink{classsqmat_6fca246f9eabbdeb8cac03030e826b5e}{clear} ()=0} 50 \label{classsqmat_6fca246f9eabbdeb8cac03030e826b5e} 39 51 40 52 \begin{CompactList}\small\item\em Clearing matrix so that it corresponds to zeros. \item\end{CompactList}\item 41 int {\bf cols} () const \label{classsqmat_ecc2e2540f95a04f4449842588170f5b} 53 \hypertarget{classsqmat_ecc2e2540f95a04f4449842588170f5b}{ 54 int \hyperlink{classsqmat_ecc2e2540f95a04f4449842588170f5b}{cols} () const } 55 \label{classsqmat_ecc2e2540f95a04f4449842588170f5b} 42 56 43 \begin{CompactList}\small\item\em Reimplementing common functions of mat: \doxyref{cols()}{p.}{classsqmat_ecc2e2540f95a04f4449842588170f5b}. \item\end{CompactList}\item 44 int {\bf rows} () const \label{classsqmat_071e80ced9cc3b8cbb360fa7462eb646} 57 \begin{CompactList}\small\item\em Reimplementing common functions of mat: \hyperlink{classsqmat_ecc2e2540f95a04f4449842588170f5b}{cols()}. \item\end{CompactList}\item 58 \hypertarget{classsqmat_071e80ced9cc3b8cbb360fa7462eb646}{ 59 int \hyperlink{classsqmat_071e80ced9cc3b8cbb360fa7462eb646}{rows} () const } 60 \label{classsqmat_071e80ced9cc3b8cbb360fa7462eb646} 45 61 46 \begin{CompactList}\small\item\em Reimplementing common functions of mat: \doxyref{cols()}{p.}{classsqmat_ecc2e2540f95a04f4449842588170f5b}. \item\end{CompactList}\item 47 virtual {\bf $\sim$sqmat} ()\label{classsqmat_0481f2067bb32aaea7e6d4f27e46b656} 62 \begin{CompactList}\small\item\em Reimplementing common functions of mat: \hyperlink{classsqmat_ecc2e2540f95a04f4449842588170f5b}{cols()}. \item\end{CompactList}\item 63 \hypertarget{classsqmat_0481f2067bb32aaea7e6d4f27e46b656}{ 64 virtual \hyperlink{classsqmat_0481f2067bb32aaea7e6d4f27e46b656}{$\sim$sqmat} ()} 65 \label{classsqmat_0481f2067bb32aaea7e6d4f27e46b656} 48 66 49 67 \begin{CompactList}\small\item\em Destructor for future use;. \item\end{CompactList}\item 50 {\bf sqmat} (const int dim0)\label{classsqmat_4268750c040c716b2c05037f725078a2} 68 \hypertarget{classsqmat_4268750c040c716b2c05037f725078a2}{ 69 \hyperlink{classsqmat_4268750c040c716b2c05037f725078a2}{sqmat} (const int dim0)} 70 \label{classsqmat_4268750c040c716b2c05037f725078a2} 51 71 52 72 \begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\end{CompactItemize} … … 54 74 \begin{CompactItemize} 55 75 \item 56 int {\bf dim}\label{classsqmat_0abed904bdc0882373ba9adba919689d} 76 \hypertarget{classsqmat_0abed904bdc0882373ba9adba919689d}{ 77 int \hyperlink{classsqmat_0abed904bdc0882373ba9adba919689d}{dim}} 78 \label{classsqmat_0abed904bdc0882373ba9adba919689d} 57 79 58 80 \begin{CompactList}\small\item\em dimension of the square matrix \item\end{CompactList}\end{CompactItemize} … … 65 87 66 88 \subsection{Member Function Documentation} 89 \hypertarget{classsqmat_b223484796661f2dadb5607a86ce0581}{ 67 90 \index{sqmat@{sqmat}!opupdt@{opupdt}} 68 91 \index{opupdt@{opupdt}!sqmat@{sqmat}} 69 \subsubsection[opupdt]{\setlength{\rightskip}{0pt plus 5cm}virtual void sqmat::opupdt (const vec \& {\em v}, \/ double {\em w})\hspace{0.3cm}{\tt [pure virtual]}}\label{classsqmat_b223484796661f2dadb5607a86ce0581} 92 \subsubsection[opupdt]{\setlength{\rightskip}{0pt plus 5cm}virtual void sqmat::opupdt (const vec \& {\em v}, \/ double {\em w})\hspace{0.3cm}{\tt \mbox{[}pure virtual\mbox{]}}}} 93 \label{classsqmat_b223484796661f2dadb5607a86ce0581} 70 94 71 95 … … 77 101 BLAS-2b operation. 78 102 79 Implemented in {\bf chmat} \doxyref{}{p.}{classchmat_bbc2d98d7455b1f38828907d442836bf}, {\bf fsqmat} \doxyref{}{p.}{classfsqmat_b36530e155667fe9f1bd58394e50c65a}, and {\bf ldmat} \doxyref{}{p.}{classldmat_0f0f6e083e6d947cf58097ffce3ccd1a}.\index{sqmat@{sqmat}!mult\_\-sym@{mult\_\-sym}} 103 Implemented in \hyperlink{classchmat_bbc2d98d7455b1f38828907d442836bf}{chmat}, \hyperlink{classfsqmat_b36530e155667fe9f1bd58394e50c65a}{fsqmat}, and \hyperlink{classldmat_0f0f6e083e6d947cf58097ffce3ccd1a}{ldmat}.\hypertarget{classsqmat_60fbbfa9e483b8187c135f787ee53afa}{ 104 \index{sqmat@{sqmat}!mult\_\-sym@{mult\_\-sym}} 80 105 \index{mult\_\-sym@{mult\_\-sym}!sqmat@{sqmat}} 81 \subsubsection[mult\_\-sym]{\setlength{\rightskip}{0pt plus 5cm}virtual void sqmat::mult\_\-sym (const mat \& {\em C})\hspace{0.3cm}{\tt [pure virtual]}}\label{classsqmat_60fbbfa9e483b8187c135f787ee53afa} 106 \subsubsection[mult\_\-sym]{\setlength{\rightskip}{0pt plus 5cm}virtual void sqmat::mult\_\-sym (const mat \& {\em C})\hspace{0.3cm}{\tt \mbox{[}pure virtual\mbox{]}}}} 107 \label{classsqmat_60fbbfa9e483b8187c135f787ee53afa} 82 108 83 109 … … 91 117 92 118 93 Implemented in {\bf chmat} \doxyref{}{p.}{classchmat_66f509f92b0ccf020e2a2a32566e0777}, {\bf fsqmat} \doxyref{}{p.}{classfsqmat_5530d2756b5d991de755e6121c9a452e}, and {\bf ldmat} \doxyref{}{p.}{classldmat_e967b9425007f0cb6cd59b845f9756d8}.\index{sqmat@{sqmat}!mult\_\-sym\_\-t@{mult\_\-sym\_\-t}} 119 Implemented in \hyperlink{classchmat_66f509f92b0ccf020e2a2a32566e0777}{chmat}, \hyperlink{classfsqmat_5530d2756b5d991de755e6121c9a452e}{fsqmat}, and \hyperlink{classldmat_e967b9425007f0cb6cd59b845f9756d8}{ldmat}.\hypertarget{classsqmat_6909e906da17725b1b80f3cae7cf3325}{ 120 \index{sqmat@{sqmat}!mult\_\-sym\_\-t@{mult\_\-sym\_\-t}} 94 121 \index{mult\_\-sym\_\-t@{mult\_\-sym\_\-t}!sqmat@{sqmat}} 95 \subsubsection[mult\_\-sym\_\-t]{\setlength{\rightskip}{0pt plus 5cm}virtual void sqmat::mult\_\-sym\_\-t (const mat \& {\em C})\hspace{0.3cm}{\tt [pure virtual]}}\label{classsqmat_6909e906da17725b1b80f3cae7cf3325} 122 \subsubsection[mult\_\-sym\_\-t]{\setlength{\rightskip}{0pt plus 5cm}virtual void sqmat::mult\_\-sym\_\-t (const mat \& {\em C})\hspace{0.3cm}{\tt \mbox{[}pure virtual\mbox{]}}}} 123 \label{classsqmat_6909e906da17725b1b80f3cae7cf3325} 96 124 97 125 … … 105 133 106 134 107 Implemented in {\bf chmat} \doxyref{}{p.}{classchmat_07f50d1332b901eee962e8b1913102f7}, {\bf fsqmat} \doxyref{}{p.}{classfsqmat_92052a8adc2054b63e42d1373d145c89}, and {\bf ldmat} \doxyref{}{p.}{classldmat_4fd155f38eb6dd5af4bdf9c98a7999a9}.\index{sqmat@{sqmat}!sqrt\_\-mult@{sqrt\_\-mult}} 135 Implemented in \hyperlink{classchmat_07f50d1332b901eee962e8b1913102f7}{chmat}, \hyperlink{classfsqmat_92052a8adc2054b63e42d1373d145c89}{fsqmat}, and \hyperlink{classldmat_4fd155f38eb6dd5af4bdf9c98a7999a9}{ldmat}.\hypertarget{classsqmat_6b79438b5d7544a9c8e110a145355d8f}{ 136 \index{sqmat@{sqmat}!sqrt\_\-mult@{sqrt\_\-mult}} 108 137 \index{sqrt\_\-mult@{sqrt\_\-mult}!sqmat@{sqmat}} 109 \subsubsection[sqrt\_\-mult]{\setlength{\rightskip}{0pt plus 5cm}virtual vec sqmat::sqrt\_\-mult (const vec \& {\em v}) const\hspace{0.3cm}{\tt [pure virtual]}}\label{classsqmat_6b79438b5d7544a9c8e110a145355d8f} 138 \subsubsection[sqrt\_\-mult]{\setlength{\rightskip}{0pt plus 5cm}virtual vec sqmat::sqrt\_\-mult (const vec \& {\em v}) const\hspace{0.3cm}{\tt \mbox{[}pure virtual\mbox{]}}}} 139 \label{classsqmat_6b79438b5d7544a9c8e110a145355d8f} 110 140 111 141 … … 114 144 Used e.g. in generating normal samples. 115 145 116 Implemented in {\bf chmat} \doxyref{}{p.}{classchmat_b22aa239dbaca33e3fb93b4f674d7051}, {\bf fsqmat} \doxyref{}{p.}{classfsqmat_842a774077ee34ac3c36d180ab33e103}, and {\bf ldmat} \doxyref{}{p.}{classldmat_fc380626ced6f9244fb58c5f0231174d}.146 Implemented in \hyperlink{classchmat_b22aa239dbaca33e3fb93b4f674d7051}{chmat}, \hyperlink{classfsqmat_842a774077ee34ac3c36d180ab33e103}{fsqmat}, and \hyperlink{classldmat_fc380626ced6f9244fb58c5f0231174d}{ldmat}. 117 147 118 148 The documentation for this class was generated from the following file:\begin{CompactItemize} 119 149 \item 120 work/git/mixpp/bdm/math/ {\bflibDC.h}\end{CompactItemize}150 work/git/mixpp/bdm/math/\hyperlink{libDC_8h}{libDC.h}\end{CompactItemize}