root/doc/latex/classdiffbifn.tex @ 219

Revision 210, 7.6 kB (checked in by smidl, 16 years ago)

dokumentace

  • Property svn:eol-style set to native
Line 
1\hypertarget{classdiffbifn}{
2\section{diffbifn Class Reference}
3\label{classdiffbifn}\index{diffbifn@{diffbifn}}
4}
5Class representing a differentiable function of two variables $f(x,u)$
6
7
8{\tt \#include $<$libFN.h$>$}
9
10Inheritance diagram for diffbifn:\nopagebreak
11\begin{figure}[H]
12\begin{center}
13\leavevmode
14\includegraphics[width=179pt]{classdiffbifn__inherit__graph}
15\end{center}
16\end{figure}
17Collaboration diagram for diffbifn:\nopagebreak
18\begin{figure}[H]
19\begin{center}
20\leavevmode
21\includegraphics[width=60pt]{classdiffbifn__coll__graph}
22\end{center}
23\end{figure}
24\subsection*{Public Member Functions}
25\begin{CompactItemize}
26\item 
27\hypertarget{classdiffbifn_ad7673e16aa1a046b131b24c731c4632}{
28vec \hyperlink{classdiffbifn_ad7673e16aa1a046b131b24c731c4632}{eval} (const vec \&cond)}
29\label{classdiffbifn_ad7673e16aa1a046b131b24c731c4632}
30
31\begin{CompactList}\small\item\em Evaluates $f(x0,u0)$ (VS: Do we really need common eval? ). \item\end{CompactList}\item 
32\hypertarget{classdiffbifn_40d8a7eee45acc55cda33d43282faa03}{
33virtual vec \hyperlink{classdiffbifn_40d8a7eee45acc55cda33d43282faa03}{eval} (const vec \&x0, const vec \&u0)}
34\label{classdiffbifn_40d8a7eee45acc55cda33d43282faa03}
35
36\begin{CompactList}\small\item\em Evaluates $f(x0,u0)$. \item\end{CompactList}\item 
37virtual void \hyperlink{classdiffbifn_6d217a02d4fa13931258d4bebdd0feb4}{dfdx\_\-cond} (const vec \&x0, const vec \&u0, mat \&A, bool full=true)
38\begin{CompactList}\small\item\em Evaluates $A=\frac{d}{dx}f(x,u)|_{x0,u0}$ and writes result into {\tt A} . \item\end{CompactList}\item 
39virtual void \hyperlink{classdiffbifn_1978bafd7909d15c139a08c495c24aa0}{dfdu\_\-cond} (const vec \&x0, const vec \&u0, mat \&A, bool full=true)
40\begin{CompactList}\small\item\em Evaluates $A=\frac{d}{du}f(x,u)|_{x0,u0}$ and writes result into {\tt A} . \item\end{CompactList}\item 
41\hypertarget{classdiffbifn_797772c0d5aab8ddccec19dfe4bb2d77}{
42\hyperlink{classdiffbifn_797772c0d5aab8ddccec19dfe4bb2d77}{diffbifn} (int \hyperlink{classfnc_22d51d10a7901331167f64f80d1af8e9}{dimy}, const \hyperlink{classRV}{RV} rvx0, const \hyperlink{classRV}{RV} rvu0)}
43\label{classdiffbifn_797772c0d5aab8ddccec19dfe4bb2d77}
44
45\begin{CompactList}\small\item\em Default constructor (dimy is not set!). \item\end{CompactList}\item 
46\hypertarget{classdiffbifn_436de7a7301ea9eac7d6081b893bbf57}{
47int \hyperlink{classdiffbifn_436de7a7301ea9eac7d6081b893bbf57}{\_\-dimx} () const }
48\label{classdiffbifn_436de7a7301ea9eac7d6081b893bbf57}
49
50\begin{CompactList}\small\item\em access function \item\end{CompactList}\item 
51\hypertarget{classdiffbifn_fc8779acbff170611aff0ee70cee3879}{
52int \hyperlink{classdiffbifn_fc8779acbff170611aff0ee70cee3879}{\_\-dimu} () const }
53\label{classdiffbifn_fc8779acbff170611aff0ee70cee3879}
54
55\begin{CompactList}\small\item\em access function \item\end{CompactList}\item 
56\hypertarget{classfnc_a8891973d0ca48ce38e1886df45ca298}{
57int \hyperlink{classfnc_a8891973d0ca48ce38e1886df45ca298}{\_\-dimy} () const }
58\label{classfnc_a8891973d0ca48ce38e1886df45ca298}
59
60\begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize}
61\subsection*{Protected Attributes}
62\begin{CompactItemize}
63\item 
64\hypertarget{classdiffbifn_bcf96b86250c3cbd465ba5ee62474b75}{
65\hyperlink{classRV}{RV} \hyperlink{classdiffbifn_bcf96b86250c3cbd465ba5ee62474b75}{rvx}}
66\label{classdiffbifn_bcf96b86250c3cbd465ba5ee62474b75}
67
68\begin{CompactList}\small\item\em Indentifier of the first rv. \item\end{CompactList}\item 
69\hypertarget{classdiffbifn_c41c74c7942dba51ef0b0bfed963447d}{
70\hyperlink{classRV}{RV} \hyperlink{classdiffbifn_c41c74c7942dba51ef0b0bfed963447d}{rvu}}
71\label{classdiffbifn_c41c74c7942dba51ef0b0bfed963447d}
72
73\begin{CompactList}\small\item\em Indentifier of the second rv. \item\end{CompactList}\item 
74\hypertarget{classdiffbifn_f6918bc0a9dad656b4cddc028137eb78}{
75int \hyperlink{classdiffbifn_f6918bc0a9dad656b4cddc028137eb78}{dimx}}
76\label{classdiffbifn_f6918bc0a9dad656b4cddc028137eb78}
77
78\begin{CompactList}\small\item\em cache for rvx.count() \item\end{CompactList}\item 
79\hypertarget{classdiffbifn_2e07ce491e973f03d763e37624d0fe79}{
80int \hyperlink{classdiffbifn_2e07ce491e973f03d763e37624d0fe79}{dimu}}
81\label{classdiffbifn_2e07ce491e973f03d763e37624d0fe79}
82
83\begin{CompactList}\small\item\em cache for rvu.count() \item\end{CompactList}\item 
84\hypertarget{classfnc_22d51d10a7901331167f64f80d1af8e9}{
85int \hyperlink{classfnc_22d51d10a7901331167f64f80d1af8e9}{dimy}}
86\label{classfnc_22d51d10a7901331167f64f80d1af8e9}
87
88\begin{CompactList}\small\item\em Length of the output vector. \item\end{CompactList}\end{CompactItemize}
89
90
91\subsection{Detailed Description}
92Class representing a differentiable function of two variables $f(x,u)$.
93
94Function of two variables.
95
96TODO: 1) Technically, it could have a common parent (e.g. {\tt \hyperlink{classfnc}{fnc}} ) with other functions. For now, we keep it as it is. 2) It could be generalized into multivariate form, (which was original meaning of {\tt \hyperlink{classfnc}{fnc}} ).
97
98\subsection{Member Function Documentation}
99\hypertarget{classdiffbifn_6d217a02d4fa13931258d4bebdd0feb4}{
100\index{diffbifn@{diffbifn}!dfdx\_\-cond@{dfdx\_\-cond}}
101\index{dfdx\_\-cond@{dfdx\_\-cond}!diffbifn@{diffbifn}}
102\subsubsection[dfdx\_\-cond]{\setlength{\rightskip}{0pt plus 5cm}virtual void diffbifn::dfdx\_\-cond (const vec \& {\em x0}, \/  const vec \& {\em u0}, \/  mat \& {\em A}, \/  bool {\em full} = {\tt true})\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}}
103\label{classdiffbifn_6d217a02d4fa13931258d4bebdd0feb4}
104
105
106Evaluates $A=\frac{d}{dx}f(x,u)|_{x0,u0}$ and writes result into {\tt A} .
107
108\begin{Desc}
109\item[Parameters:]
110\begin{description}
111\item[{\em full}]denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. \item[{\em x0}]numeric value of $x$, \item[{\em u0}]numeric value of $u$ \item[{\em A}]a place where the result will be stored. \end{description}
112\end{Desc}
113
114
115Reimplemented in \hyperlink{classbilinfn_79c022de8dbe2b054bb9cc49345f3ef5}{bilinfn}, \hyperlink{classIMk1_463177c0fdffdf4951761959160cc682}{IMk1}, \hyperlink{classOMk1_3a6ff61c818d25f95912351aac201cc7}{OMk1}, \hyperlink{classIMpmsm_b4378b5d3bf64c683e4cf5c5f1cd56f1}{IMpmsm}, and \hyperlink{classOMpmsm_b75b5fd55b2ac5ed74b5b953af122821}{OMpmsm}.
116
117Referenced by EKF$<$ sq\_\-T $>$::bayes(), EKFCh::bayes(), EKFfull::bayes(), EKF$<$ sq\_\-T $>$::set\_\-parameters(), EKFCh::set\_\-parameters(), and EKFfull::set\_\-parameters().\hypertarget{classdiffbifn_1978bafd7909d15c139a08c495c24aa0}{
118\index{diffbifn@{diffbifn}!dfdu\_\-cond@{dfdu\_\-cond}}
119\index{dfdu\_\-cond@{dfdu\_\-cond}!diffbifn@{diffbifn}}
120\subsubsection[dfdu\_\-cond]{\setlength{\rightskip}{0pt plus 5cm}virtual void diffbifn::dfdu\_\-cond (const vec \& {\em x0}, \/  const vec \& {\em u0}, \/  mat \& {\em A}, \/  bool {\em full} = {\tt true})\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}}
121\label{classdiffbifn_1978bafd7909d15c139a08c495c24aa0}
122
123
124Evaluates $A=\frac{d}{du}f(x,u)|_{x0,u0}$ and writes result into {\tt A} .
125
126\begin{Desc}
127\item[Parameters:]
128\begin{description}
129\item[{\em full}]denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. \item[{\em x0}]numeric value of $x$, \item[{\em u0}]numeric value of $u$ \item[{\em A}]a place where the result will be stored. \end{description}
130\end{Desc}
131
132
133Reimplemented in \hyperlink{classbilinfn_90f2b15612b14883d6ed2b0e295cb82b}{bilinfn}, \hyperlink{classIMk1_2b85f0984da3fe55849bb7b28f66e50c}{IMk1}, and \hyperlink{classIMpmsm_c3f8dad22ae9855c04a1d593b45c99b5}{IMpmsm}.
134
135The documentation for this class was generated from the following file:\begin{CompactItemize}
136\item 
137work/git/mixpp/bdm/stat/libFN.h\end{CompactItemize}
Note: See TracBrowser for help on using the browser.