\hypertarget{classbdm_1_1diffbifn}{
\section{bdm::diffbifn Class Reference}
\label{classbdm_1_1diffbifn}\index{bdm::diffbifn@{bdm::diffbifn}}
}
Class representing a differentiable function of two variables $f(x,u)$.  


{\tt \#include $<$libFN.h$>$}

Inheritance diagram for bdm::diffbifn:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=64pt]{classbdm_1_1diffbifn__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for bdm::diffbifn:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=88pt]{classbdm_1_1diffbifn__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{classbdm_1_1diffbifn_188f31066bd72e1bf0ddacd1eb0e6af3}{
vec \hyperlink{classbdm_1_1diffbifn_188f31066bd72e1bf0ddacd1eb0e6af3}{eval} (const vec \&cond)}
\label{classbdm_1_1diffbifn_188f31066bd72e1bf0ddacd1eb0e6af3}

\begin{CompactList}\small\item\em Evaluates $f(x0,u0)$ (VS: Do we really need common eval? ). \item\end{CompactList}\item 
\hypertarget{classbdm_1_1diffbifn_b5462c05b58cd38367ff946836bb82d3}{
virtual vec \hyperlink{classbdm_1_1diffbifn_b5462c05b58cd38367ff946836bb82d3}{eval} (const vec \&x0, const vec \&u0)}
\label{classbdm_1_1diffbifn_b5462c05b58cd38367ff946836bb82d3}

\begin{CompactList}\small\item\em Evaluates $f(x0,u0)$. \item\end{CompactList}\item 
virtual void \hyperlink{classbdm_1_1diffbifn_651184f808a35f236dbfea21aca1b6ac}{dfdx\_\-cond} (const vec \&x0, const vec \&u0, mat \&A, bool full=true)
\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 
virtual void \hyperlink{classbdm_1_1diffbifn_6ea1dc7a482601b29c5ba36a52d20d07}{dfdu\_\-cond} (const vec \&x0, const vec \&u0, mat \&A, bool full=true)
\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 
\hypertarget{classbdm_1_1diffbifn_6ecfa9bf42b2421bd56c260a8b2c51e1}{
\hyperlink{classbdm_1_1diffbifn_6ecfa9bf42b2421bd56c260a8b2c51e1}{diffbifn} (int \hyperlink{classbdm_1_1fnc_52156cb4a52a62d51fc7455985797a62}{dimy}, const \hyperlink{classbdm_1_1RV}{RV} rvx0, const \hyperlink{classbdm_1_1RV}{RV} rvu0)}
\label{classbdm_1_1diffbifn_6ecfa9bf42b2421bd56c260a8b2c51e1}

\begin{CompactList}\small\item\em Default constructor (dimy is not set!). \item\end{CompactList}\item 
\hypertarget{classbdm_1_1diffbifn_1b3c8f5949f13d86d2661e191d4b369b}{
int \hyperlink{classbdm_1_1diffbifn_1b3c8f5949f13d86d2661e191d4b369b}{\_\-dimx} () const }
\label{classbdm_1_1diffbifn_1b3c8f5949f13d86d2661e191d4b369b}

\begin{CompactList}\small\item\em access function \item\end{CompactList}\item 
\hypertarget{classbdm_1_1diffbifn_031458f38c97cdb3aecde16f6a06dced}{
int \hyperlink{classbdm_1_1diffbifn_031458f38c97cdb3aecde16f6a06dced}{\_\-dimu} () const }
\label{classbdm_1_1diffbifn_031458f38c97cdb3aecde16f6a06dced}

\begin{CompactList}\small\item\em access function \item\end{CompactList}\item 
\hypertarget{classbdm_1_1fnc_0786e40fade2663a70d654c1dda5d73e}{
virtual void \hyperlink{classbdm_1_1fnc_0786e40fade2663a70d654c1dda5d73e}{condition} (const vec \&val)}
\label{classbdm_1_1fnc_0786e40fade2663a70d654c1dda5d73e}

\begin{CompactList}\small\item\em function substitutes given value into an appropriate position \item\end{CompactList}\item 
\hypertarget{classbdm_1_1fnc_a2277a400fc9f4d6c0bf24dc7156183f}{
int \hyperlink{classbdm_1_1fnc_a2277a400fc9f4d6c0bf24dc7156183f}{\_\-dimy} () const }
\label{classbdm_1_1fnc_a2277a400fc9f4d6c0bf24dc7156183f}

\begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
\hypertarget{classbdm_1_1diffbifn_5f56547d8e9378b669d3cc19d7831cbb}{
\hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1diffbifn_5f56547d8e9378b669d3cc19d7831cbb}{rvx}}
\label{classbdm_1_1diffbifn_5f56547d8e9378b669d3cc19d7831cbb}

\begin{CompactList}\small\item\em Indentifier of the first rv. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1diffbifn_a8e3e861d5ec2a7ae9524e6338e58320}{
\hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1diffbifn_a8e3e861d5ec2a7ae9524e6338e58320}{rvu}}
\label{classbdm_1_1diffbifn_a8e3e861d5ec2a7ae9524e6338e58320}

\begin{CompactList}\small\item\em Indentifier of the second rv. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1diffbifn_a193aa2c4a500139c0c4b669691e588e}{
int \hyperlink{classbdm_1_1diffbifn_a193aa2c4a500139c0c4b669691e588e}{dimx}}
\label{classbdm_1_1diffbifn_a193aa2c4a500139c0c4b669691e588e}

\begin{CompactList}\small\item\em cache for rvx.count() \item\end{CompactList}\item 
\hypertarget{classbdm_1_1diffbifn_30c45617eec89adeb4ebaa763d093fb0}{
int \hyperlink{classbdm_1_1diffbifn_30c45617eec89adeb4ebaa763d093fb0}{dimu}}
\label{classbdm_1_1diffbifn_30c45617eec89adeb4ebaa763d093fb0}

\begin{CompactList}\small\item\em cache for rvu.count() \item\end{CompactList}\item 
\hypertarget{classbdm_1_1fnc_52156cb4a52a62d51fc7455985797a62}{
int \hyperlink{classbdm_1_1fnc_52156cb4a52a62d51fc7455985797a62}{dimy}}
\label{classbdm_1_1fnc_52156cb4a52a62d51fc7455985797a62}

\begin{CompactList}\small\item\em Length of the output vector. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Class representing a differentiable function of two variables $f(x,u)$. 

Function of two variables.

TODO: 1) Technically, it could have a common parent (e.g. {\tt \hyperlink{classbdm_1_1fnc}{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{classbdm_1_1fnc}{fnc}} ). 

\subsection{Member Function Documentation}
\hypertarget{classbdm_1_1diffbifn_651184f808a35f236dbfea21aca1b6ac}{
\index{bdm::diffbifn@{bdm::diffbifn}!dfdx\_\-cond@{dfdx\_\-cond}}
\index{dfdx\_\-cond@{dfdx\_\-cond}!bdm::diffbifn@{bdm::diffbifn}}
\subsubsection[dfdx\_\-cond]{\setlength{\rightskip}{0pt plus 5cm}virtual void bdm::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{]}}}}
\label{classbdm_1_1diffbifn_651184f808a35f236dbfea21aca1b6ac}


Evaluates $A=\frac{d}{dx}f(x,u)|_{x0,u0}$ and writes result into {\tt A} . 

\begin{Desc}
\item[Parameters:]
\begin{description}
\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}
\end{Desc}


Reimplemented in \hyperlink{classbdm_1_1bilinfn_33066f1054dd259df2ec5fafae4b46e6}{bdm::bilinfn}.

Referenced by bdm::EKF$<$ sq\_\-T $>$::bayes(), bdm::EKFCh::bayes(), bdm::EKFfull::bayes(), bdm::EKF$<$ sq\_\-T $>$::set\_\-parameters(), bdm::EKFCh::set\_\-parameters(), and bdm::EKFfull::set\_\-parameters().\hypertarget{classbdm_1_1diffbifn_6ea1dc7a482601b29c5ba36a52d20d07}{
\index{bdm::diffbifn@{bdm::diffbifn}!dfdu\_\-cond@{dfdu\_\-cond}}
\index{dfdu\_\-cond@{dfdu\_\-cond}!bdm::diffbifn@{bdm::diffbifn}}
\subsubsection[dfdu\_\-cond]{\setlength{\rightskip}{0pt plus 5cm}virtual void bdm::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{]}}}}
\label{classbdm_1_1diffbifn_6ea1dc7a482601b29c5ba36a52d20d07}


Evaluates $A=\frac{d}{du}f(x,u)|_{x0,u0}$ and writes result into {\tt A} . 

\begin{Desc}
\item[Parameters:]
\begin{description}
\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}
\end{Desc}


Reimplemented in \hyperlink{classbdm_1_1bilinfn_9cfe2f1c115ba7c3c75849a10a4f2c08}{bdm::bilinfn}.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
libFN.h\end{CompactItemize}
