-
Notifications
You must be signed in to change notification settings - Fork 11
/
Stubs.tex
61 lines (52 loc) · 1.76 KB
/
Stubs.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
%Equation stub
\begin{equation}
{df\left(x\right)\over dx}=\lim_{\epsilon\to
0}{f\left(x+\epsilon\right)-f\left(x-\epsilon\right)\over
2\epsilon}.
\end{equation}
%Code example stub
\begin{codeExample}
\begin{verbatim}
new OneVariableFunction() {
public double value( double x)
{return 1/x;}}
\end{verbatim}
\end{codeExample}
%Figure example
\begin{figure}
\centering\includegraphics[width=10cm]{Figures/snap}
\caption{A typical class diagram}\label{fig:classDiagram}
\end{figure}
%Smalltalk listing stub
\begin{listing} Smalltalk implementation of a generic
derivative evaluation \label{ls:derivative}
\input{Smalltalk/FunctionEvaluation/DhbFunctionDerivative}
\end{listing}
%Java listing stub
\begin{listing} Java implementation of a generic
derivative evaluation \label{lj:derivative}
\input{Java/DhbFunctionEvaluation/FunctionDerivative.java}
\end{listing}
%Table for probability distribution
Table \ref{tb:???dist} shows the properties of the ???
distribution.
\begin{table}[h]
\centering
\caption{Properties of the ??? distribution}\label{tb:???dist}
\vspace{1 ex}
\begin{tabular}{|l|c|} \hline
\vbox to 3ex{}Range of random variable & $ $\\ *[1ex] \hline
\vbox to 4ex{}Probability density function & $\displaystyle P\left(x\right)=$ \\*[2ex] \hline
\vbox to 3ex{}Parameters & $ $ \\
& $ $\\*[1ex] \hline
\vbox to 4ex{}Distribution function & $\displaystyle F\left(x\right)=$ \\
&(\cf section \ref ) \\*[1ex] \hline
\vbox to 3ex{}Average & $ $ \\*[1ex] \hline
\vbox to 3ex{}Variance & $ $ \\*[1ex] \hline
\vbox to 3ex{}Skewness & $ $ \\*[1ex] \hline
\vbox to 3ex{}Kurtosis & $ $ \\*[1ex] \hline
\end{tabular}
\end{table}
%Note to recall a figure in the margin
\marginpar{Figure \ref{fig:dataminingclasses} with the box {\bf
OneVariableFunction} grayed.}