% To include this file use % \include{/home/mackay/tex/newcommands1} %\newcommand{\eR}{{^{\rm R}}{\bf e}} %\newcommand{\eL}{{^{\rm L}}{\bf e}} % \newcommand{\onedelta}{{1}} \newcommand{\kilobyte}{kilobyte} \newcommand{\kilobytes}{{\kilobyte}s} \newcommand{\bomegab}{{\bf \omega}} \newcommand{\bomega}{\underline{\omega}} %\newcommand{\curl}{\mbox{curl}\,} \newcommand{\Div}{\mbox{div}\,} \newcommand{\Grad}{\mbox{grad}\,} \newsavebox{\leftDbox} \savebox{\leftDbox}{% \setlength{\unitlength}{0.01cm} \begin{picture}(36,36)(14,-18) \put(50,0){\makebox(0,0){\makebox[0in][r]{$\langle$}{\sc{d}}}} \put(65,18){\line(-1,0){27}} \put(65,-18){\line(-1,0){27}} \put(65,18){\line(0,-1){36}} \end{picture} } \newcommand{\leftD}{\usebox{\leftDbox}} % was \cup, \cap \newcommand{\convexsmile}{convex$\,\smile$} \newcommand{\concavefrown}{concave$\,\frown$} \newcommand{\Convexsmile}{Convex$\,\smile$} \newcommand{\Concavefrown}{Concave$\,\frown$} %%%%%%%%% the following are provided for error-correction \newcommand{\convexfrown}{\concavefrown} \newcommand{\concavesmile}{\convexsmile} \newcommand{\perfectic}{raw bit content} \newcommand{\Perfectic}{Raw bit content} \newcommand{\essentialic}{essential bit content} \newcommand{\Essentialic}{Essential bit content} \newcommand{\eR}{{\bf e}_{\small{\sf R}}} \newcommand{\eL}{{\bf e}_{\small{\sf L}}} \newcommand{\eRa}{{\bf e}_{\small{\sf R}}^{(a)}} \newcommand{\eLa}{{\bf e}_{\small{\sf L}}^{(a)}} \newcommand{\eRb}{{\bf e}_{\small{\sf R}}^{(b)}} \newcommand{\eLb}{{\bf e}_{\small{\sf L}}^{(b)}} \newcommand{\fRa}{{\bf f}_{\small{\sf R}}^{(a)}} \newcommand{\fLa}{{\bf f}_{\small{\sf L}}^{(a)}} \newcommand{\fRb}{{\bf f}_{\small{\sf R}}^{(b)}} \newcommand{\fLb}{{\bf f}_{\small{\sf L}}^{(b)}} \newcommand{\gRa}{{\bf g}_{\small{\sf R}}^{(a)}} \newcommand{\gLa}{{\bf g}_{\small{\sf L}}^{(a)}} \newcommand{\gRb}{{\bf g}_{\small{\sf R}}^{(b)}} \newcommand{\gLb}{{\bf g}_{\small{\sf L}}^{(b)}} \newcommand{\bref}[1]{(\ref{#1})} \newcommand{\eqref}[1]{equation~(\ref{#1})} \newcommand{\eqsref}[2]{equations~(\ref{#1}--\ref{#2})} \newcommand{\eqbref}[1]{(equation~\ref{#1})} \newcommand{\Eqref}[1]{Equation~(\ref{#1})} \newcommand{\algref}{algorithm~\ref} \newcommand{\Algref}{Algorithm~\ref} \newcommand{\boxref}{box~\ref} \newcommand{\Boxref}{Box~\ref} \newcommand{\figref}{figure~\ref} \newcommand{\Figref}{Figure~\ref} \newcommand{\figsref}{figures~\ref} \newcommand{\Figsref}{Figures~\ref} \newcommand{\tabref}{table~\ref} \newcommand{\tablenoun}{table} \newcommand{\Tabref}{Table~\ref} \newcommand{\ind}[1]{#1\index{#1}} \newcommand{\indexs}[1]{\index{#1|bold}} \newcommand{\inds}[1]{#1\indexs{#1}}% special index entry \newcommand{\indit}[1]{#1\index{#1|it}}% special index entry % % see also newcommands2.tex % index entries: if I use \inds{blob} % it is a special index entry that comes out % \indexentry{alpha|bold}{1} % which is then converted by makeindex into a bold page number \newcounter{frompage} \setcounter{frompage}{0} % % see itp/dvips_maker.p for ideas on this stuff: % % original idea: make dvips commands for making separate ps docs % idea 2: use pstops to select pages from the mega document. % % current method: terminate chapters or spit out generic stuff using \dvips % On special occasions add own label using \dvipsb % \newcommand{\dvips}{\ifnum \arabic{frompage} < \arabic{page} \typeout{\# dvips Chapter \arabic{chapter} } \typeout{ dvips -p \arabic{frompage} -l \arabic{page} -o ps/\arabic{frompage}.\arabic{page}.ps } \setcounter{frompage}{\arabic{page}} \addtocounter{frompage}{1} \else \typeout{ Already printed to here} \fi } \newcommand{\dvipsb}[1]{\ifnum \arabic{frompage} < \arabic{page} \typeout{\# dvips #1} % \typeout{#1} \typeout{ dvips -p \arabic{frompage} -l \arabic{page} -o ps/\arabic{frompage}.\arabic{page}.ps } \setcounter{frompage}{\arabic{page}} \addtocounter{frompage}{1} \else \typeout{ Already printed to here} \fi } \newcommand{\sfhead}[1]{\medskip {\sf #1 }\\ } \newcommand{\schead}[1]{\medskip {\sc #1 }\\ } \newcommand{\argmin}{{\mbox{argmin}}} \newcommand{\linefrac}[2]{{#1}/{#2}} \newcommand{\partl}[1]{ \frac{\partial}{\partial #1 } } \newcommand{\ppartl}[2]{ \frac{\partial^2}{\partial #1 \partial #2 } } \newcommand{\putoval}[3]{\put(#1){\oval(#2)} \put(#1){\makebox(0,0){#3}}} \newtheorem{pseudo}{Pseudo-theorem} \newcommand{\PC}{{\bf PC}} \newcommand{\trans}{{\rm\scriptscriptstyle T}} \newcommand{\Psc}{\bf P_{\bf s \bf c}} \newcommand{\PscC}{\bf P_{\bf s \bf c} \bf C} \newcommand{\Pn}{\bf P_{\bf n}} %\newcommand{\fN}{\frac{1}{N}}% replaced by fN in itprnnchapter.tex \newcommand{\wrt}{with respect to} \newcommand{\Xl}{\makebox{$X$}} \newcommand{\mod}{\,\mbox{mod}\,} \newcommand{\MCMC}{Markov chain Monte Carlo} %\newcommand{\argmax}{\,\mbox{argmax}\,} % http://www.theochem.kun.nl/tex/FAQ/english/texfaq_89.html \newcommand{\argmax}{\mathop{\rm argmax}} % If you want your subscripts and superscripts % always placed to the right, do: % \newcommand{\diag}{\mathop{\rm diag}\nolimits} \newcommand{\diag}{\mathop{\rm diag}} \newcommand{\Yl}{\makebox{$Y$}} \newcommand{\Xo}{\makebox{$\bar{X}$}} \newcommand{\Yo}{\makebox{$\bar{Y}$}} %\newcommand{\Xl}{\makebox{$X\!=\!1$}} %\newcommand{\Yl}{\makebox{$Y\!=\!1$}} %\newcommand{\Xo}{\makebox{$X\!=\!0$}} %\newcommand{\Yo}{\makebox{$Y\!=\!0$}} \newcommand{\noprint}[1]{} \newcommand{\struta}{\rule{0cm}{14pt}} \newcommand{\strutb}{\rule{0cm}{12pt}} \newcommand{\strutc}{\rule{0cm}{19pt}} \newcommand{\strutd}{\rule[-9pt]{0pt}{29pt}} \newcommand{\strutf}{\rule{0cm}{12pt}}% for supporting lines above fractions in tables (eg chap 5 of book) \newlength{\xx} \newlength{\xxx} \newlength{\yy} \setlength{\xx}{1.4in} \setlength{\xxx}{2.8in} \setlength{\yy}{4in} %\newcommand{\struta}{\rule{0cm}{2\baselineskip}} %\newcommand{\strutb}{\rule{0cm}{3\baselineskip}} \newcommand{\Trace}{\mbox{Trace}\,} \newcommand{\ssN}{\scriptscriptstyle N} \newcommand{\ssNN}{{\scriptscriptstyle N\!+\!1}} \newcommand{\bssNN}{{\scriptscriptstyle (N\!+\!1)}} \newcommand{\ssNM}{\scriptscriptstyle N\!-\!1} \newcommand{\etal}{{\em et~al.}} \newcommand{\chiD}{\chi^2_{\scriptscriptstyle D}} \newcommand{\chiW}{\chi^2_{\scriptscriptstyle W}} \newcommand{\bg}{{\bf g}} \newcommand{\g}{{\bf g}} \newcommand{\bu}{{\bf u}} \newcommand{\bd}{{\bf d}} \newcommand{\bD}{{\bf D}} \newcommand{\bL}{{\bf L}} \newcommand{\bl}{{\bf l}} \newcommand{\Do}{ \Delta^{\! 0}} \newcommand{\wo}{{\setminus}} \newcommand{\FE}{\rm \scriptscriptstyle FE} \newcommand{\MP}{\rm \scriptscriptstyle MP} \newcommand{\ML}{\rm \scriptscriptstyle ML} %\newcommand{\amp}{a^{\rm \scriptscriptstyle MP}} \newcommand{\amp}{\alpha_{\rm \scriptscriptstyle MP}} \newcommand{\aamp}{a_{\rm \scriptscriptstyle MP}} \renewcommand{\d}{{\rm{d}}}% was \mbox{d} \newcommand{\D}{{\cal D}} \newcommand{\B}{{\cal B}} \newcommand{\V}{{\cal V}} \newcommand{\BC}{${\cal B \rightarrow C}$} \newcommand{\C}{\cal C} \newcommand{\G}{\cal G} %%%%%%% \font\blah=cmss8 at 7pt \def\myT{{\blah T}} %%%%%%% \font\tinytt=cmtt8 at 6pt \font\tinysf=cmss8 at 6pt \def\T{\hspace*{-0.2mm}\mbox{\tinysf T}\hspace*{-0.2mm}} %\def\T{\hspace*{-0.2mm}{\tinysf T}} % \newcommand{\T}{\!\mbox{\tiny\sf T}} % \newcommand{\T}{{\top}} % \newcommand{\T}{\makebox[0in][r]{$\top$}} % \newcommand{\T}{{\sf \scriptscriptstyle T}} \newcommand{\N}{{\cal N}} \newcommand{\Normal}{\mbox{Normal}} \newcommand{\A}{{\cal A}} \newcommand{\R}{{\cal R}} \renewcommand{\S}{{\cal S}} \newcommand{\Sa}{{{\cal S}_1}} \newcommand{\Sb}{{{\cal S}_2}} \newcommand{\F}{$\cal F$} \newcommand{\FG}{$\cal F \rightarrow G$} %\newcommand{\btheta}{{\bf \theta}} % moved to 2e.tex \newcommand{\bp}{{\bf p}} \newcommand{\bw}{{\bf w}} \newcommand{\bW}{{\bf W}} \newcommand{\w}{{\bf w}} \newcommand{\bm}{{\bf m}} \newcommand{\sigW}{\sigma_{\scriptscriptstyle W}} \newcommand{\wml}{{{\bf w}_{\rm \scriptscriptstyle ML}}} \newcommand{\wmp}{{\bf w}_{\rm \scriptscriptstyle MP}} \newcommand{\wmpa}{{\bf w}_{{\rm \scriptscriptstyle MP}|\alpha}} \newcommand{\wmpam}{{\bf w}_{{\rm \scriptscriptstyle MP}|\alpha_{\MP}}} \newcommand{\wmpabar}{{\bf w}_{{\rm \scriptscriptstyle MP}|\bar{\alpha}}} \newcommand{\aeff}{\alpha_{\rm eff}} \newcommand{\MAP}{MAP} \newcommand{\snu}{\sigma_{\nu}} \newcommand{\hb}{\hat{\beta}} \newcommand{\ha}{\hat{\alpha}} \newcommand{\p}{{\bf p}} \renewcommand{\P}{{\cal P}} \newcommand{\m}{{\bf m}} \newcommand{\br}{{\bf r}} \newcommand{\f}{{\bf f}} \newcommand{\bff}{{\bf f}} \newcommand{\fmp}{{\bf f}_{\MP}} \newcommand{\bth}{\underline{\theta}} %\newcommand{\bth}{{\bf \theta}} \newcommand{\bQ}{{\bf Q}} \newcommand{\bq}{{\bf q}} \newcommand{\bB}{{\bf B}} \newcommand{\ba}{{\bf a}} \newcommand{\bbb}{{\bf b}} \newcommand{\NB}{{\it N.B.}} \newcommand{\eg}{{\it e.g.}} \newcommand{\ie}{{\it i.e.}} \newcommand{\cf}{{\it cf.}}% fixed Wed 31/12/03 \newcommand{\qb}{\bar{q}} \newcommand{\barx}{\bar{x}} \newcommand{\bP}{{\bf P}} %\newcommand{\r}{\rho}% moved to 2.tex \newcommand{\bJ}{{\bf J}} \newcommand{\bk}{{\bf k}} \newcommand{\bK}{{\bf K}} \newcommand{\bC}{{\bf C}} \newcommand{\bG}{{\bf G}} \newcommand{\bH}{{\bf H}} \newcommand{\bY}{{\bf Y}} \newcommand{\bA}{{\bf A}} \newcommand{\bF}{{\bf F}} \newcommand{\bE}{{\bf E}} \newcommand{\bT}{{\bf T}} \newcommand{\bR}{{\bf R}} \newcommand{\tR}{\tilde{R}} \newcommand{\tF}{\tilde{F}} \newcommand{\tW}{\tilde{W}} \newcommand{\tD}{\tilde{D}} \newcommand{\bSig}{{\bf \Sigma}} \newcommand{\bAI}{{\bf A}^{\!\! -1}} \newcommand{\bM}{{\bf M}} \newcommand{\bN}{{\bf N}} \newcommand{\bh}{{\bf h}} \newcommand{\bX}{{\bf X}} \newcommand{\sN}{\sqrt{N}} \newcommand{\st}{\sqrt{3}} \newcommand{\sm}{\sqrt{m}} \newcommand{\bz}{{\bf z}} \newcommand{\bn}{{\bf n}} \newcommand{\bI}{{\bf I}} \newcommand{\hn}{{\bf \hat{n}}} \newcommand{\he}{{\bf \hat{e}}} \newcommand{\var}{\mbox{var}} \newcommand{\be}{{\bf e}} \newcommand{\bc}{{\bf c}} \newcommand{\xmx}{x_{\max}} \newcommand{\xmn}{x_{\min}} \newcommand{\bx}{{\bf x}} \newcommand{\by}{{\bf y}} \newcommand{\bv}{{\bf v}} %\newcommand{\defeq}{\stackrel{\tiny \triangle}{=}} \newcommand{\smalldfrac}[2]{\mbox{{\raisebox{1.7pt}{\tiny{#1}}}% \hspace{-0.375mm}{\raisebox{0pt}{\footnotesize{/}}}\hspace{-0.3mm}% {{\tiny{#2}}}}} \newcommand{\dfrac}[2]{\mbox{{\raisebox{3pt}{\footnotesize{#1}}}% \hspace{-0.4mm}{\raisebox{2pt}{\small{/}}}\hspace{-0.4mm}% {{\footnotesize{#2}}}}} \newcommand{\mdfrac}[2]{\mbox{{\raisebox{3pt}{\footnotesize{$#1$}}}% \hspace{-0.4mm}{\raisebox{2pt}{\small{/}}}\hspace{-0.4mm}% {{\footnotesize{$#2$}}}}} \newcommand{\dfifth}{\dfrac{1}{5}} \newcommand{\dtwofifth}{\dfrac{2}{5}} \newcommand{\iid}{i.i.d.} \newcommand{\dthird}{\dfrac{1}{3}} \newcommand{\dsixth}{\dfrac{1}{6}} \newcommand{\deighth}{\dfrac{1}{8}} \newcommand{\dsixteenth}{\dfrac{1}{16}} \newcommand{\dthirtytwoth}{\dfrac{1}{32}} \newcommand{\dquarter}{\dfrac{1}{4}} \newcommand{\dhalf}{\dfrac{1}{2}} \newcommand{\half}{\frac{1}{2}} \newcommand{\hf}{{1/2}} \newcommand{\grad}{\nabla} \newcommand{\lfrac}[2]{\left.{#1}\right/{#2}} \newcommand{\ben}{\begin{enumerate}} \newcommand{\een}{\end{enumerate}} \newcommand{\beq}{\begin{equation}} \newcommand{\eeq}{\end{equation}} \newcommand{\beqa}{\begin{eqnarray*}} \newcommand{\eeqa}{\end{eqnarray*}} \newcommand{\beqan}{\begin{eqnarray}} \newcommand{\eeqan}{\end{eqnarray}} %\newcommand{\bt}{\begin{tabular}{c}} \newcommand{\bt}{{\bf t}} \newcommand{\btt}{\begin{tabular}} \newcommand{\et}{\end{tabular}} \renewcommand{\l}{\lambda} % \newcommand{\dw}{{\w-\wml}} \newcommand{\siguW}{\sigma^{\scriptscriptstyle w}} \newcommand{\Q}{Q} \newcommand{\q}{q} \newcommand{\hw}{\hat{\bf w}} \renewcommand{\b}{\beta} \newcommand{\bo}{\beta_{\omega}} \newcommand{\EDo}{E_{D(\omega)}} \newcommand{\Bo}{{\bf B}_{\omega}} \newcommand{\No}{N_{\omega}} \newcommand{\go}{\gamma_{\omega}} \newcommand{\gc}{\gamma_c} \renewcommand{\a}{\alpha} \newcommand{\Hs}{{\cal H}_{\bar{s}}} \newcommand{\ws}{{\bf w}^{\MP}_{\bar{s}}} % \newcommand{\bs}{{\bf e}_{s}} \newcommand{\bs}{{\bf s}} \newcommand{\bS}{{\bf S}} \newcommand{\dw}{\Delta {\bf w}} \newcommand{\bAs}{{\bf A}_{\bar{s}}} \newcommand{\ns}{\bar{s}} \newcommand{\wns}{{\bf w}_{\bar{s}}} \newcommand{\bU}{{\bf U}} \newcommand{\bV}{{\bf V}} \newcommand{\kB}{{k_{\rm B}}} \newcommand{\kb}{{k_{\rm B}}} \newtheorem{thm}{Theorem} %\newtheorem{ctheorem}{Theorem}[chapter] % the above commented out because 2e doesn't like chapter \newtheorem{prop}{Property} \newtheorem{conj}{Conjecture} \newcommand{\pf}{{\noindent\em Proof. }} \newcommand{\epfsymbol}{\Box}%{\bullet} \newcommand{\eepf}{\eqno\epfsymbol } \newcommand{\epf}{\hfill$\epfsymbol$ \\[0.15in]} \renewcommand{\a}{\alpha} \renewcommand{\b}{\beta} \renewcommand{\R}{{\cal R}} \renewcommand{\H}{{\cal H}} \newcommand{\I}{{I}}%%%%%%%%%%%%%%%%% mutual information \newcommand{\M}{{\cal M}} \renewcommand{\C}{{\cal C}} \newcommand{\pdxy}[2]{{{\partial #1}\over{\partial #2}}} \newcommand{\Exp}{{\cal E}}% expectation % \newcommand{\emph}[1]{{\em #1\/}} % not needed in 2e ^^^^^ % % sanjoy units method: \def\unit#1{\,{\rm #1}} \def\cm{\unit{cm}} \def\kg{\unit{kg}} % % Page \newcommand{\pref}[1]{\mbox{\pdot\pageref{#1}}}% produces page reference \newcommand{\pdotsmall}{p.\hspace{0.17mm}} \newcommand{\pdot}{p.\hspace{0.25mm}} \newcommand{\Pdot}{P.\hspace{0.25mm}} % \newcounter{mycounter} \newcommand\leftmarginpar[1]{% \stepcounter{mycounter}% \label{leftmargin:\arabic{mycounter}} \ifodd\mp@pageref{leftmargin:\arabic{mycounter}} \begingroup \reversemarginpar\marginpar{#1}% \endgroup \else \marginpar{#1}% \fi } % % ensemblePaper.tex: % \newcommand{\Dir}[3]{\mbox{$\mbox{Dirichlet}^{(#3)}(#1\,|\,#2)$}} \newcommand{\Dirichlet}[2]{\mbox{$\mbox{Dirichlet}\left({#1};{#2}\right)$}} \newcommand{\svec}[1]{\underline{#1}} \newcommand{\dvec}[1]{\underline{\underline{#1}}} \newcommand{\dvA}{{\bf A}} \newcommand{\dvB}{{\bf B}} \newcommand{\svpi}{{\pi}} \newcommand{\svp}{{\bf p}} \newcommand{\svq}{{\bf q}} \newcommand{\svU}{{\bf U}} \newcommand{\svw}{{\bf w}} \newcommand{\svm}{{\bf m}} \newcommand{\sva}{{\bf a}} \newcommand{\dvUA}{{\bf u}^{(A)}} \newcommand{\dvUB}{{\bf u}^{(B)}} \newcommand{\svUpi}{{\bf u}^{(\pi)}} % % jordan.tex: % \newcommand{\state}{\{i_l,j_l\}_1^L} % % sparsecodes.tex \newcommand{\ldpc}{{low-density parity-check}} \newcommand{\Ldpc}{{Low-density parity-check}} \newcommand{\erf}{\Phi} % % for itp/book \newcommand{\sixtoone}[2]{% \begin{tabular}{c} #1\\ \mbox{\psfig{figure=figs/sixtoone/#2.ps,width=1.1in,angle=-90}\hspace*{0.21in}}\\ \end{tabular} } % from gp.tex \newcommand{\dCda}{{\frac{\partial \bC_{N}}{\partial \theta}}} \newcommand{\cO}{{\cal O}} \newcommand{\cR}{{\cal R}} \newcommand{\cN}{{\cal N}} \newcommand{\cG}{{\cal G}} \newcommand{\bkNN}{{\bf k}}% \bk_{N+1} \newcommand{\bxt}{{\tilde{\bf x}}} \newcommand{\tNN}{t_{N+1}} \newcommand{\tN}{t_{N}} \newcommand{\bCN}{{\bf C}_{N}} \newcommand{\bCNN}{{\bf C}_{N+1}} \newcommand{\btN}{{\bf t}_{N}} \newcommand{\btNN}{{\bf t}_{N+1}} \newcommand{\byN}{{\bf y}_{N}} \newcommand{\byNN}{{\bf y}_{N+1}} \newcommand{\bXN}{{\bf X}_{N}} \newcommand{\bXNN}{{\bf X}_{N+1}} \newcommand{\tn}{t_{n}} \newcommand{\bCinv}{{\bf C}^{-1}} \newcommand{\bGinv}{{\bf \Gamma}^{-1}} \newcommand{\bHinv}{{\bf H}^{-1}} \newcommand{\Zinv}{Z^{-1}} \newcommand{\cC}{{\cal C}} \newcommand{\cD}{{\cal D}} \newcommand{\cL}{{\cal L}} % from GM \newcommand{\ket}[1]{\ensuremath{\left | #1 \right \rangle}} \newcommand{\bra}[1]{\ensuremath{\left \langle #1 \right |}} \newcommand{\dd}[2]{\frac{\partial #1}{\partial #2}} \newcommand{\ij}{_{ij}} \def\argmin{\mathop{\rm argmin}} \def\argmax{\mathop{\rm argmax}} \def\breakhere{\hskip 1sp}