Home My Page Projects Code Snippets Project Openings diderot

# SCM Repository

[diderot] Annotation of /branches/vis12/doc/report/basis.tex
 [diderot] / branches / vis12 / doc / report / basis.tex

# Annotation of /branches/vis12/doc/report/basis.tex

 1 : jhr 326 %!TEX root = report.tex 2 : % 3 : \chapter{The Diderot Basis Environment} 4 : \label{chap:basis} 5 : 6 : \section{Overloaded operators} 7 : 8 : \section{Other operators} 9 : 10 : \section{Functions} 11 : \newcommand{\FNSPEC}[3]{\item[\normalfont\texttt{#1} : \texttt{#2} ${\rightarrow}$ \texttt{#3}]\mbox{}\\} 12 : \begin{description} 13 : \FNSPEC{CL}{}{} 14 : \FNSPEC{convolve}{}{} 15 : \FNSPEC{cos}{\kw{real}}{\kw{real}} 16 : returns the cosine of its argument. 17 : \FNSPEC{dot}{}{} 18 : \FNSPEC{inside}{}{} 19 : \FNSPEC{load}{}{} 20 : \FNSPEC{max}{(\kw{real}, \kw{real})}{\kw{real}} 21 : returns the minimum of its two arguments. 22 : \FNSPEC{min}{(\kw{real}, \kw{real})}{\kw{real}} 23 : returns the maximum of its two arguments. 24 : \FNSPEC{modulate}{}{} 25 : \FNSPEC{pow}{(\kw{real}, \kw{real})}{\kw{real}} 26 : returns the first argument raised to the power of the second argument. 27 : \FNSPEC{principleEvec}{}{} 28 : \FNSPEC{sin}{\kw{real}}{\kw{real}} 29 : returns the sine of its argument. 30 : \end{description}% 31 : 32 : \section{Kernels} 33 : Diderot knows about a number of standard convolution kernels, which are described in the 34 : following table: 35 : \begin{center} 36 : \begin{tabular}{r@{ \texttt{:} }lp{3.5in}} 37 : \multicolumn{2}{c}{\textbf{Specification}} & \textbf{Description} \\ \hline 38 : \texttt{bspln3} & \kw{kernel\#}\texttt{2} & cubic bspline reconstruction (does not interpolate) \\ 39 : \texttt{bspln5} & \kw{kernel\#}\texttt{4} & quintic bspline reconstruction (does not interpolate) \\ 40 : \texttt{ctmr} & \kw{kernel\#}\texttt{2} & Catmull-Rom interpolation \\ 41 : \texttt{tent} & \kw{kernel\#}\texttt{0} & linear interpolation \\ \hline 42 : \end{tabular}% 43 : \end{center}%