Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /trunk/doc/report/basis.tex
ViewVC logotype

Diff of /trunk/doc/report/basis.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 327, Wed Aug 18 18:32:34 2010 UTC revision 329, Wed Aug 18 23:32:54 2010 UTC
# Line 3  Line 3 
3  \chapter{The Diderot Basis Environment}  \chapter{The Diderot Basis Environment}
4  \label{chap:basis}  \label{chap:basis}
5    
6    \newcommand{\PFNSPEC}[4]{\item[\normalfont{$\mathtt{#1} : (#2) #3 \rightarrow #4$}]\mbox{}\\}
7    \newcommand{\FNSPEC}[3]{\item[\normalfont{$\mathtt{#1} : #2 \rightarrow #3$}]\mbox{}\\}
8  \newcommand{\imageTy}[2]{\mkw{image}(#1)[#2]}  \newcommand{\imageTy}[2]{\mkw{image}(#1)[#2]}
9  \newcommand{\kernelTy}[2]{\mkw{kernel\#}#2}  \newcommand{\kernelTy}[2]{\mkw{kernel\#}#2}
10  \newcommand{\fieldTy}[3]{\mkw{field\#}#1(#2)[#3]}  \newcommand{\fieldTy}[3]{\mkw{field\#}#1(#2)[#3]}
# Line 12  Line 14 
14  \section{Other operators}  \section{Other operators}
15    
16  \section{Functions}  \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{}\\}  
17  \begin{description}  \begin{description}
18    \FNSPEC{CL}{\mkw{tensor}[3,3]}{\mkw{real}}    \FNSPEC{CL}{\mkw{tensor}[3,3]}{\mkw{real}}
19    \PFNSPEC{convolve}{d,k,\sigma}{(\imageTy{d}{\sigma},\,\kernelTy{k})}{\fieldTy{k}{d}{\sigma}}    \PFNSPEC{convolve}{d,k,\sigma}{(\imageTy{d}{\sigma},\,\kernelTy{k})}{\fieldTy{k}{d}{\sigma}}
# Line 22  Line 22 
22    \PFNSPEC{dot}{d}{(\mkw{tensor}[d],\,\mkw{tensor}[d])}{\mkw{real}}    \PFNSPEC{dot}{d}{(\mkw{tensor}[d],\,\mkw{tensor}[d])}{\mkw{real}}
23    \PFNSPEC{inside}{k,d,\sigma}{(\fieldTy{k}{d}{\sigma},\,\mkw{tensor}[d])}{\mkw{bool}}    \PFNSPEC{inside}{k,d,\sigma}{(\fieldTy{k}{d}{\sigma},\,\mkw{tensor}[d])}{\mkw{bool}}
24    \PFNSPEC{load}{d,\sigma}{\mkw{string}}{\imageTy{d}{\sigma}}    \PFNSPEC{load}{d,\sigma}{\mkw{string}}{\imageTy{d}{\sigma}}
25        loads the named image file, which should be a Nrrd file.
26        Note that this function may only be used in the global initialization part of a Diderot
27        program.
28    \FNSPEC{max}{(\mkw{real},\,\mkw{real})}{\mkw{real}}    \FNSPEC{max}{(\mkw{real},\,\mkw{real})}{\mkw{real}}
29      returns the minimum of its two arguments.      returns the minimum of its two arguments.
30    \FNSPEC{min}{(\mkw{real},\,\mkw{real})}{\mkw{real}}    \FNSPEC{min}{(\mkw{real},\,\mkw{real})}{\mkw{real}}

Legend:
Removed from v.327  
changed lines
  Added in v.329

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0