root/doc/latex/classsqmat.tex @ 19

Revision 19, 4.1 kB (checked in by smidl, 16 years ago)

Switch to CMake

  • Property svn:eol-style set to native
Line 
1\section{sqmat Class Reference}
2\label{classsqmat}\index{sqmat@{sqmat}}
3Virtual class for representation of double symmetric matrices in square-root form. 
4
5
6{\tt \#include $<$libDC.h$>$}
7
8Inheritance diagram for sqmat:\nopagebreak
9\begin{figure}[H]
10\begin{center}
11\leavevmode
12\includegraphics[width=78pt]{classsqmat__inherit__graph}
13\end{center}
14\end{figure}
15\subsection*{Public Member Functions}
16\begin{CompactItemize}
17\item 
18virtual void {\bf opupdt} (const vec \&v, double w)=0
19\item 
20virtual mat {\bf to\_\-mat} ()=0\label{classsqmat_9a5b6fddfeb42339e1dc9b978a2590fc}
21
22\begin{CompactList}\small\item\em Conversion to full matrix. \item\end{CompactList}\item 
23virtual void {\bf mult\_\-sym} (const mat \&C, bool trans=true)=0
24\begin{CompactList}\small\item\em Inplace symmetric multiplication by a SQUARE matrix \$C\$, i.e. \$V = C$\ast$V$\ast$C'\$. \item\end{CompactList}\item 
25virtual double {\bf logdet} ()=0\label{classsqmat_5c852819589f74cdaefbd648c0ce8547}
26
27\begin{CompactList}\small\item\em Logarithm of a determinant. \item\end{CompactList}\item 
28virtual vec {\bf sqrt\_\-mult} (vec \&v)=0
29\begin{CompactList}\small\item\em Multiplies square root of \$V\$ by vector \$x\$. \item\end{CompactList}\item 
30virtual double {\bf qform} (vec \&v)=0\label{classsqmat_44e079468bc8bfccf634dc85b32ba6be}
31
32\begin{CompactList}\small\item\em Evaluates quadratic form \$x= v'$\ast$V$\ast$v\$;. \item\end{CompactList}\item 
33virtual void {\bf clear} ()=0\label{classsqmat_6fca246f9eabbdeb8cac03030e826b5e}
34
35\begin{CompactList}\small\item\em Clearing matrix so that it corresponds to zeros. \item\end{CompactList}\item 
36virtual int {\bf cols} ()=0\label{classsqmat_743d3799d9e73403230c54e14ecf09ed}
37
38\begin{CompactList}\small\item\em Reimplementing common functions of mat: \doxyref{cols()}{p.}{classsqmat_743d3799d9e73403230c54e14ecf09ed}. \item\end{CompactList}\item 
39virtual int {\bf rows} ()=0\label{classsqmat_f59664a4be09450f8c6ce3f5e5ab2dc7}
40
41\begin{CompactList}\small\item\em Reimplementing common functions of mat: \doxyref{cols()}{p.}{classsqmat_743d3799d9e73403230c54e14ecf09ed}. \item\end{CompactList}\end{CompactItemize}
42\subsection*{Protected Attributes}
43\begin{CompactItemize}
44\item 
45int \textbf{dim}\label{classsqmat_0abed904bdc0882373ba9adba919689d}
46
47\end{CompactItemize}
48
49
50\subsection{Detailed Description}
51Virtual class for representation of double symmetric matrices in square-root form.
52
53All operations defined on this class should be optimized for the chosed decomposition.
54
55\subsection{Member Function Documentation}
56\index{sqmat@{sqmat}!opupdt@{opupdt}}
57\index{opupdt@{opupdt}!sqmat@{sqmat}}
58\subsubsection{\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}
59
60
61Perfroms a rank-1 update by outer product of vectors: \$V = V + w v v'\$. \begin{Desc}
62\item[Parameters:]
63\begin{description}
64\item[{\em v}]Vector forming the outer product to be added \item[{\em w}]weight of updating; can be negative\end{description}
65\end{Desc}
66BLAS-2b operation. \index{sqmat@{sqmat}!mult_sym@{mult\_\-sym}}
67\index{mult_sym@{mult\_\-sym}!sqmat@{sqmat}}
68\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void sqmat::mult\_\-sym (const mat \& {\em C}, bool {\em trans} = {\tt true})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classsqmat_faa3bc90be142adde9cf74f573c70157}
69
70
71Inplace symmetric multiplication by a SQUARE matrix \$C\$, i.e. \$V = C$\ast$V$\ast$C'\$.
72
73\begin{Desc}
74\item[Parameters:]
75\begin{description}
76\item[{\em C}]multiplying matrix, \item[{\em trans}]if true, product \$V = C'$\ast$V$\ast$C\$ will be computed instead; \end{description}
77\end{Desc}
78\index{sqmat@{sqmat}!sqrt_mult@{sqrt\_\-mult}}
79\index{sqrt_mult@{sqrt\_\-mult}!sqmat@{sqmat}}
80\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual vec sqmat::sqrt\_\-mult (vec \& {\em v})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classsqmat_b5236c8a050199e1a9d338b0da1a08d2}
81
82
83Multiplies square root of \$V\$ by vector \$x\$.
84
85Used e.g. in generating normal samples.
86
87The documentation for this class was generated from the following file:\begin{CompactItemize}
88\item 
89work/mixpp/bdm/math/{\bf libDC.h}\end{CompactItemize}
Note: See TracBrowser for help on using the browser.