Home My Page Projects Code Snippets Project Openings diderot

# SCM Repository

[diderot] View of /trunk/doc/report/basis.tex
 [diderot] / trunk / doc / report / basis.tex

# View of /trunk/doc/report/basis.tex

Wed Aug 18 17:42:53 2010 UTC (10 years, 7 months ago) by jhr
File size: 1591 byte(s)
  Starting to document the Diderot Basis

%!TEX root = report.tex
%
\chapter{The Diderot Basis Environment}
\label{chap:basis}

\section{Other operators}

\section{Functions}
\newcommand{\FNSPEC}[3]{\item[\normalfont\texttt{#1} : \texttt{#2} ${\rightarrow}$ \texttt{#3}]\mbox{}\\}
\begin{description}
\FNSPEC{CL}{}{}
\FNSPEC{convolve}{}{}
\FNSPEC{cos}{\kw{real}}{\kw{real}}
returns the cosine of its argument.
\FNSPEC{dot}{}{}
\FNSPEC{inside}{}{}
\FNSPEC{max}{(\kw{real}, \kw{real})}{\kw{real}}
returns the minimum of its two arguments.
\FNSPEC{min}{(\kw{real}, \kw{real})}{\kw{real}}
returns the maximum of its two arguments.
\FNSPEC{modulate}{}{}
\FNSPEC{pow}{(\kw{real}, \kw{real})}{\kw{real}}
returns the first argument raised to the power of the second argument.
\FNSPEC{principleEvec}{}{}
\FNSPEC{sin}{\kw{real}}{\kw{real}}
returns the sine of its argument.
\end{description}%

\section{Kernels}
Diderot knows about a number of standard convolution kernels, which are described in the
following table:
\begin{center}
\begin{tabular}{r@{ \texttt{:} }lp{3.5in}}
\multicolumn{2}{c}{\textbf{Specification}} & \textbf{Description} \\ \hline
\texttt{bspln3} & \kw{kernel\#}\texttt{2} & cubic bspline reconstruction (does not interpolate) \\
\texttt{bspln5} & \kw{kernel\#}\texttt{4} & quintic bspline reconstruction (does not interpolate) \\
\texttt{ctmr} & \kw{kernel\#}\texttt{2} & Catmull-Rom interpolation \\
\texttt{tent} & \kw{kernel\#}\texttt{0} & linear interpolation \\ \hline
\end{tabular}%
\end{center}%