Skip to content

Commit

Permalink
fix layout of cdf figures in notes
Browse files Browse the repository at this point in the history
  • Loading branch information
kashefy committed May 19, 2022
1 parent 33c078a commit f6cf5cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions notes/04_density-transform/2_cdf.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ \subsection{The Inverse CDF technique}

\only<1,2>{
\begin{center}
\begin{minipage}{0.45\textwidth}
\begin{minipage}{\slidesonly{0.45}\notesonly{0.3}\textwidth}
\includegraphics[width=0.99\textwidth]{img/gauss_pdfcdf}
\end{minipage}
\begin{minipage}{0.45\textwidth}
\begin{minipage}{\slidesonly{0.45}\notesonly{0.3}\textwidth}
\includegraphics[width=0.99\textwidth]{img/laplacian_pdfcdf}
\end{minipage}
\end{center}
Expand All @@ -21,10 +21,10 @@ \subsection{The Inverse CDF technique}

\only<3>{
\begin{center}
\begin{minipage}{0.45\textwidth}
\begin{minipage}{\slidesonly{0.45}\notesonly{0.3}\textwidth}
\includegraphics[width=0.99\textwidth]{img/gauss_cdfmarginals}
\end{minipage}
\begin{minipage}{0.45\textwidth}
\begin{minipage}{\slidesonly{0.45}\notesonly{0.3}\textwidth}
\includegraphics[width=0.99\textwidth]{img/laplacian_cdfmarginals}
\end{minipage}
\end{center}
Expand Down
6 changes: 3 additions & 3 deletions notes/04_density-transform/3_density-transform.tex
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ \subsubsection{Setting}

\pause

and let $\vec g(\vec x) =\notesonly{ ( g_1(\vec x), g_2(\vec x))^\top =} ( g_1(x_1, x_2), g_2(x_1, x_2))^\top = (u_1, u_2)^\top = \vec u$ be a one-to-one mapping/transformation.
and let $\vec g(\vec x) = ( g_1(x_1, x_2), g_2(x_1, x_2))^\top = (u_1, u_2)^\top = \vec u$ be a one-to-one mapping/transformation.

\svspace{-3mm}

Expand Down Expand Up @@ -80,7 +80,7 @@ \subsubsection{Setting}
=\int_{u(\Omega)} f(~\underbrace{\vec g^{-1}(\vec u)}_{= \vec x}~) \frac{1}{\left|\det \frac{\partial \vec{u}}{\partial \vec{x}} \right|} \mathbf{d}\vec{u},
\end{equation}

\notesonly{where $\vec g^{-1}(\vec u) = \vec x$ is the inverse mapping.}
\notesonly{where $\vec g^{-1}(\vec u) = \vec x$ is the inverse mapping which we assume to exist and to be differentiable.}


\end{frame}
Expand Down Expand Up @@ -248,7 +248,7 @@ \subsubsection{Mapping the vectors}
- We use the same procedure on ${\color{red}\vec e_2}$:

\begin{equation}
u: {\color{red}\vec e_2} \mapsto
\vec g: {\color{red}\vec e_2} \mapsto
\rmat{
\frac{\partial u_1}{\partial x_2} \Delta x_2\\[0.2cm]
\frac{\partial u_2}{\partial x_2} \Delta x_2
Expand Down

0 comments on commit f6cf5cb

Please sign in to comment.