--- trunk/doc/report/basis.tex 2010/08/18 22:19:26 328 +++ trunk/doc/report/basis.tex 2010/08/18 23:32:54 329 @@ -3,6 +3,8 @@ \chapter{The Diderot Basis Environment} \label{chap:basis} +\newcommand{\PFNSPEC}[4]{\item[\normalfont{$\mathtt{#1} : (#2) #3 \rightarrow #4$}]\mbox{}\\} +\newcommand{\FNSPEC}[3]{\item[\normalfont{$\mathtt{#1} : #2 \rightarrow #3$}]\mbox{}\\} \newcommand{\imageTy}[2]{\mkw{image}(#1)[#2]} \newcommand{\kernelTy}[2]{\mkw{kernel\#}#2} \newcommand{\fieldTy}[3]{\mkw{field\#}#1(#2)[#3]} @@ -12,8 +14,6 @@ \section{Other operators} \section{Functions} -\newcommand{\PFNSPEC}[4]{\item[\normalfont{$\mathtt{#1} : (#2) #3 \rightarrow #4$}]\mbox{}\\} -\newcommand{\FNSPEC}[3]{\item[\normalfont{$\mathtt{#1} : #2 \rightarrow #3$}]\mbox{}\\} \begin{description} \FNSPEC{CL}{\mkw{tensor}[3,3]}{\mkw{real}} \PFNSPEC{convolve}{d,k,\sigma}{(\imageTy{d}{\sigma},\,\kernelTy{k})}{\fieldTy{k}{d}{\sigma}} @@ -22,6 +22,9 @@ \PFNSPEC{dot}{d}{(\mkw{tensor}[d],\,\mkw{tensor}[d])}{\mkw{real}} \PFNSPEC{inside}{k,d,\sigma}{(\fieldTy{k}{d}{\sigma},\,\mkw{tensor}[d])}{\mkw{bool}} \PFNSPEC{load}{d,\sigma}{\mkw{string}}{\imageTy{d}{\sigma}} + loads the named image file, which should be a Nrrd file. + Note that this function may only be used in the global initialization part of a Diderot + program. \FNSPEC{max}{(\mkw{real},\,\mkw{real})}{\mkw{real}} returns the minimum of its two arguments. \FNSPEC{min}{(\mkw{real},\,\mkw{real})}{\mkw{real}}
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: returns the minimum of its two arguments. \FNSPEC{min}{(\mkw{real},\,\mkw{real})}{\mkw{real}}